code: def render_results(results, num_rows=20):
      table = Table()
      table.add_column("Failure message")
      table.add_column("Number of occurences")
  
      for msg, num in results.most_common(20):
          table.add_row(msg, str(num))
  
      console = Console()
      console.print(table)
  
imports: import json
  import sys
  from collections import Counter
  from fnmatch import fnmatch
  from rich.console import Console
  from rich.table import Table
label_desc: Use image node_id 2 for calling a global function with example usage: render_results(results, num_rows) without return types