Fixed and Refractored GetEventDateCounts