@classmethod<EOL><INDENT>def refcount(cls):<DEDENT>
return cls._count<EOL>
This function returns the amount of active references for the current global libzfs handle.

.. note::
   If this function returns 0, no current handle is obtained