Return the statistic's count divided by the number of rows in the table. If it cannot be calculated return
        `default`.
        :return: The average count value (count / table rows) or `default` if it cannot be calculated.

def get_average(self, default=None):
        """
        Return the statistic's count divided by the number of rows in the table. If it cannot be calculated return
        `default`.
        :return: The average count value (count / table rows) or `default` if it cannot be calculated.
        """
        try:
            first_row = self.get_first()
            if first_row:
                count0 = first_row[0]['Count']
            else:
                count0 = 0
            average = (self.count - count0) / (self.get_number_of_rows() - 1)
        except Exception as e:
            logging.error(e)
            return default
        else:
            return average