Update sample.rb

No need for `count` to be a float
Start `count` at 1 so that you never have the case of `n / count == 1`
Merge pull request #10 from cboursnell/patch-1

Update sample.rb