CounterScanner and parser for it