code: func (s *server) ConnectedCount() int32 {
  	replyChan := make(chan int32)
  
  	s.query <- getConnCountMsg{reply: replyChan}
  
  	return <-replyChan
  }
docs: // ConnectedCount returns the number of currently connected peers.