def METHOD_NAME(metrics):
    """Print the recommendation data to console.
  Args:
    metrics: Recommendation data
  """
    fields = [
        "Metric Description", "Resource", "Service Accounts", "Users", "Groups",
        "Total"
    ]
    table = prettytable.PrettyTable(fields)
    metric_name = "Number of active IAM recommendations"
    for metric in metrics:
        project_id = "projects/" + metric["project_id"]
        stats = list(metric["stats"].values())
        combine_stats = sum(stats)
        table.add_row([metric_name, project_id, *stats, combine_stats])
    print(table)