event counter at endlumi