def avg(self, property):
self.__prepare()<EOL>return self.sum(property) / self.count()<EOL>
Getting average according to given property

        :@param property
        :@type property: string

        :@return average: int/float