use new metric interface for counters

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>