Event number in template