def __len__(self):
        """
        RETURN DATA VOLUME
        """
        if not self.edges:
            return 1

        for d in self.data.values():
            return len(d)
def __len__ ( self ) : if not self . edges : return 1 for d in self . data . values ( ) : return len ( d )
RETURN DATA VOLUME