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