add counter on each click