code: def get_server_unread_messages_count(self, server_name=None):
          
          server = self._servers.get(server_name)
          return server.get_messages_count_in_buffer()
docs: Gets count of unread messages from server