Add an activity counter