working on donut chart, fixed bug total count