Refactor counters to only store the number of events at a project level