Correct number of generated events for efficiency computation