checkout counters optimization