code: def log_summary(self):
          
          participants = Participant.query.with_entities(Participant.status).all()
          counts = Counter([p.status for p in participants])
          sorted_counts = sorted(counts.items(), key=itemgetter(0))
          self.log("Status summary: {}".format(str(sorted_counts)))
          return sorted_counts
docs: Log a summary of all the participants' status codes.