code: def print_command_count():
      
      mdb = client.get_mdb(instance='simulator')
      for command in mdb.list_commands():
          total = 0
          for group in archive.list_command_histogram(command.qualified_name):
              for rec in group.records:
                  total += rec.count
          print('  {: <40} {: >20}'.format(command, total))
docs: Print the number of commands grouped by name.