(self)
return len(self.__listeners)
Return number of listeners currently subscribed to topic. This is
        different from number of listeners that will get notified since more
        general topics up the topic tree may have listeners.
Return number of listeners currently subscribed to topic. This is
        different from number of listeners that will get notified since more
        general topics up the topic tree may have listeners.
Return number of listeners currently subscribed to topic . This is different from number of listeners that will get notified since more general topics up the topic tree may have listeners .
def getNumListeners(self) -> int:
        """
        Return number of listeners currently subscribed to topic. This is
        different from number of listeners that will get notified since more
        general topics up the topic tree may have listeners.
        """
        return len(self.__listeners)
def getNumListeners ( self ) -> int : return len ( self . __listeners )