Changing from sum to count works for this particular scenario and i have tried it before. But, say if i am making some $X(other than 1) per day, i need a sum.. count does not work in that scenario.
I changed the EarningsPerDay to '2' instead of 1 and aggregation type as count. In Excel it shows
2013 - 365
2014 - 364
where i expect sum
2013 - 730
2014 - 728