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`