code: def length(self):
          
          length = float(sum(i.length(self.vertices)
                             for i in self.entities))
          return length
docs: The total discretized length of every entity.
  
          Returns
          --------
          length: float, summed length of every entity