[decode] Add support for counters