tomd: support sample rates for counters, for issue #10
tomd: support sample rates for counters -- closes #10