Returns the current reference count of device. Since 1.10
the current reference count of device. If the object is a nil object, 0 will be returned.
Returns the current reference count of device. Since 1.10