[sr-dev] git:andrei/counters: kcore stats: rewrote in terms of the counters api