src/pybel/struct/summary/edge_summary.py
def count_annotations(graph: BELGraph) -> Counter:
    """Count how many times each annotation is used in the graph.

    :param graph: A BEL graph
    :return: A Counter from {annotation key: frequency}
    """
    return Counter(_annotation_iter_helper(graph))
Count how many times each annotation is used in the graph.

    :param graph: A BEL graph
    :return: A Counter from {annotation key: frequency}
    
Count how many times each annotation is used in the graph.
Count how many times each annotation is used in the graph .
def count_annotations(graph: BELGraph) -> Counter:
    return Counter(_annotation_iter_helper(graph))
def count_annotations ( graph : BELGraph ) -> Counter : return Counter ( _annotation_iter_helper ( graph ) )
Count how many times each annotation is used in the graph.
Count how many times each annotation is used in the graph .
"""Count how many times each annotation is used in the graph.

    :param graph: A BEL graph
    :return: A Counter from {annotation key: frequency}
    """
A Counter from {annotation key: frequency}
A Counter from { annotation key : frequency }
graph
BELGraph
A BEL graph
A BEL graph