code: def count(self) -> int:
          '''Return number of connections.'''
          counter = 0
  
          for pool in self._host_pools.values():
              counter += pool.count()
  
          return countef count(self) -> int:
          '''Return number of connections.'''
          counter = 0
  
          for pool in self._host_pools.values():
              counter += pool.count()
  
          return counter
docs: Return number of connections.