Unify chk_cnt to latency_sum by using multi layer hash