Added Sample Rate To Metrics.Counter

Hi,
I added another optional parameter to Metrics.Counter with sample rate (default is 1.0).
Added test as well.

Thanks,
Gal