docs: def size(self, piecewise=False):
          """
          Returns the total number of edges in the :class:`.GraphCollection`\.
          """
          if piecewise:
              return {k: v.size() for k, v in self.items()}
          return self.master_graph.size()