def get_namespace_statistics(self, namespace, start_offset, end_offset):
        cursor = self.cursor
        cursor.execute('SELECT SUM(data_points), SUM(byte_count) '
                       'FROM gauged_statistics WHERE namespace = %s '
                       'AND offset BETWEEN %s AND %s',
                       (namespace, start_offset, end_offset))
        return [long(count or 0) for count in cursor.fetchone()]
Get namespace statistics for the period between start_offset and
dataset/ETHPy150Open chriso/gauged/gauged/drivers/mysql.py/MySQLDriver.get_namespace_statistics