Events counter api