code: def composition(self):
          
          elmap = collections.defaultdict(float)
          for site in self:
              for species, occu in site.species.items():
                  elmap[species] += occu
          return Composition(elmap)
docs: (Composition) Returns the composition