def METHOD_NAME(flat_nodes) -> str:
    counts: Dict[str, int] = {}
    for node in flat_nodes:
        t = node.resource_type
        if node.resource_type == NodeType.Model:
            t = "{} {}".format(node.get_materialization(), t)
        elif node.resource_type == NodeType.Operation:
            t = "hook"
        counts[t] = counts.get(t, 0) + 1
    stat_line = ", ".join([pluralize(v, k) for k, v in counts.items()])
    return stat_line