Add total events daily task.

This calculates the total number of events per day.