code: def get_stats_summary_dict(self):
          
          uptime = time.time() - self._established_time \
              if self._established_time != 0 else -1
          return {
              stats.UPDATE_MSG_IN: self.get_count(PeerCounterNames.RECV_UPDATES),
              stats.UPDATE_MSG_OUT: self.get_count(
                  PeerCounterNames.SENT_UPDATES
              ),
              stats.TOTAL_MSG_IN: self.total_msg_recv,
              stats.TOTAL_MSG_OUT: self.total_msg_sent,
              stats.FMS_EST_TRANS: self.get_count(
                  PeerCounterNames.FSM_ESTB_TRANSITIONS
              ),
              stats.UPTIME: uptime
          }
docs: Returns basic stats.
  
          Returns a `dict` with various counts and stats, see below.