Changed Active event count to current event counts so the same logic can be used in multiple place.