number_of_logs is calculated perfoming log with --pretty=oneline option. Thanks to @fcamblor