tabulate() method to emit a summary