Use .upto method for counting, so we pass rubocop and don't have a recipe compile error