'Based on config\'s object_size_stats will keep track of how many objects
fall into the specified ranges. For example with the following:
object_size_stats = 10, 100, 1024
and your system has 3 objects of sizes: 5, 20, and 10000 bytes the log
will look like: {"10": 1, "100": 1, "1024": 0, "OVER": 1}'

def record_stats(self, obj_size):

    for size in self.stats_sizes:
        if (obj_size <= size):
            self.stats_buckets[size] += 1
            break
    else:
        self.stats_buckets['OVER'] += 1
