Added a counter