minor refactoring to 'count_collatz_sequence_steps' method.