rate&count metrics for counters

This PR adds rate and count metrics for counters 
(count was previously computed but not written to output and rate is calculated similar to statsd)

Possible fix for #52