Counter class added