Worked on counter class