more exercises with counting and conditionals