switch current counters to gauges

in-flight counts should be gauges, not counters.
Also moved indexing to shared stats since applies to versions <1.