code: def sum(self, property):
          
          self.__prepare()
          total = 0
          for i in self._json_data:
              total += i.get(property)
  
          return total
docs: Getting the sum according to the given property
  
          :@param property
          :@type property: string
  
          :@return int/float