cypy/graph/store.py
def node_count(self, *n_labels):
        """ Count and return the number of nodes in this store.

        :param n_labels: count only nodes with all these labels
        :return: number of nodes
        """
        if not n_labels:
            return len(self._nodes)
        elif len(n_labels) == 1:
            return len(self._nodes_by_label.get(n_labels[0], ()))
        else:
            return sum(1 for _ in self.nodes(*n_labels))
 Count and return the number of nodes in this store.

        :param n_labels: count only nodes with all these labels
        :return: number of nodes
        
Count and return the number of nodes in this store.
Count and return the number of nodes in this store .
def node_count(self, *n_labels):
        if not n_labels:
            return len(self._nodes)
        elif len(n_labels) == 1:
            return len(self._nodes_by_label.get(n_labels[0], ()))
        else:
            return sum(1 for _ in self.nodes(*n_labels))
def node_count ( self , * n_labels ) : if not n_labels : return len ( self . _nodes ) elif len ( n_labels ) == 1 : return len ( self . _nodes_by_label . get ( n_labels [ 0 ] , ( ) ) ) else : return sum ( 1 for _ in self . nodes ( * n_labels ) )
Count and return the number of nodes in this store.
Count and return the number of nodes in this store .
""" Count and return the number of nodes in this store.

        :param n_labels: count only nodes with all these labels
        :return: number of nodes
        """
number of nodes
number of nodes
self
n_labels
count only nodes with all these labels
count only nodes with all these labels