def increment_counters(bucket, time_in_millisecond):
    if time_in_millisecond <= 0:
        bucket[0] += 1
    for key in bucket.keys():
        if time_in_millisecond >= key > 0:
            bucket[key] += 1

# format the output as per tabulate standard and calculate percentages as well
dataset/ETHPy150Open aerospike/aerospike-client-python/benchmarks/kvs.py/increment_counters/original