pie chart counters correction