Add assertions for counters feature detection.