customer discount and item counters added