def METHOD_NAME(self, orgs):
    self.stdout.write("\nSummarizing messages for %d orgs...\n\n" % len(orgs))
    header = (("ID", 4), ("Name", 16), ("Total", 12), ("Inactive", 10), ("Unhandled", 10), ("Stuck", 10))
    self.stdout.write(row_to_str(header))
    self.stdout.write("=" * row_width(header))
    an_hour_ago = now() - timedelta(hours=1)
    for org in orgs:
        active = org.incoming_messages.filter(is_active=True)
        inactive = org.incoming_messages.filter(is_active=False)
        num_active = active.count()
        num_inactive = inactive.count()
        num_total = num_active + num_inactive
        num_unhandled = org.incoming_messages.filter(is_handled=False).count()
        num_stuck = org.incoming_messages.filter(is_handled=False, created_on__lt=an_hour_ago).count()
        row = (
            (org.id, 4),
            (org.name, 16),
            (num_total, 12),
            (num_inactive, 10),
            (num_unhandled, 10),
            (num_stuck, 10),
        )
        self.stdout.write(row_to_str(row))