count = cpattern:GetReferenceCount()
This function returns the current reference count of the pattern. If the object is a Nil object, 0 will be returned.
Nil