Add event counter.