from typing import Counter


def get_distribution(graph, color_path, color_path_type="simple"):
    """
    :param graph: HetNet
    :param color_path: color path
    :param color_path_type: color path type
    :return: histogram of number of paths matching color_path
    """
    paths = graph.multi_match_color_paths(color_path, color_path_type)
    return Counter(len(v) for k, v in paths.items())