introduce interface for Counters, port the bitfield counter here