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.
See Implementation
Returns the current reference count of device. Since 1.10