Adding event count optimized