code: def printRuleUsage(counts, total):
      print("\nHistogram of rule usage:")
      ruleNum = 0
      for num in counts:
          print(
              " Rule {} was used {} times, {:.2f}%".format(
                  ruleNum, num, num / total * 100
              )
          )
          ruleNum += 1
  
file_path: AIX360/aix360/data/ted_data/GenerateData.py
imports: import random
  from random import choices
  import pandas
label_desc: Use image node_id 16 for calling a global function with example usage: printRuleUsage(counts, total) without return types