Rework absolute counters

The previous version was completely FUBAR.