code: def _clear_stats(self):
          
          for stat in (STAT_BYTES_RECEIVED,
                       STAT_BYTES_SENT,
                       STAT_MSG_RECEIVED,
                       STAT_MSG_SENT,
                       STAT_CLIENTS_MAXIMUM,
                       STAT_CLIENTS_CONNECTED,
                       STAT_CLIENTS_DISCONNECTED,
                       STAT_PUBLISH_RECEIVED,
                       STAT_PUBLISH_SENT):
              self._stats[stat] = 0
docs: Initializes broker statistics data structures