new Counter class
remove old Counter class