add support for sampled counters
Merge pull request #1 from danklynn/master

Added sampled counter support