Is there a way to get the current reference count for an object?