src/pybel/struct/graph.py
def functions(self) -> Counter:
        """Count the functions in a graph.

        >>> from pybel.examples import sialic_acid_graph
        >>> sialic_acid_graph.count.functions()
        Counter({'Protein': 7, 'Complex': 1, 'Abundance': 1})
        """
        from .summary import count_functions
        return count_functions(self.graph)
Count the functions in a graph.

        >>> from pybel.examples import sialic_acid_graph
        >>> sialic_acid_graph.count.functions()
        Counter({'Protein': 7, 'Complex': 1, 'Abundance': 1})
        
Count the functions in a graph.
Count the functions in a graph .
def functions(self) -> Counter:
        from .summary import count_functions
        return count_functions(self.graph)
def functions ( self ) -> Counter : from . summary import count_functions return count_functions ( self . graph )
Count the functions in a graph.
Count the functions in a graph .
"""Count the functions in a graph.

        >>> from pybel.examples import sialic_acid_graph
        >>> sialic_acid_graph.count.functions()
        Counter({'Protein': 7, 'Complex': 1, 'Abundance': 1})
        """
self