code: def get_listener_count(self):
          
  
          return _number(
              _extract(
                  self._request(self.ws_prefix + ".getInfo", cacheable=True), "listeners"
              )
          )
docs: Returns the number of listeners on the network