Add report_counter_metric, as implemented in the MySQL plugin

I noticed that the Sphinx plugin I'm writing could use this method, too.