Added sample rate to counter functions. This sample rate will be send to Statsd too.