Adding counters for stats.