You can find the actual approach of benchmark_driver.gem to loop count here: https://github.com/k0kubun/benchmark_driver/blob/v0.10.13/lib/benchmark_driver/runner/ips.rb#L159-L185
Isn't that sufficient? I don't get what you mean by "a more statistical approach".