Add a function to get the size of a device