Counter replacers

I did a counter replacer that can be used when trying to subclass a Counter.