Definition
The number of references to an object. When the reference count of an
object drops to zero, it is deallocated. Reference counting is
generally not visible to Python code, but it is a key element of the
CPython implementation. Programmers can call the
sys.getrefcount() function to return the
reference count for a particular object.