call initCounter in context listener