Integer to multiple selection

1. What is the issue? Please be detailed.
I am trying to reduce the restrict choice options from select_multiple based on the selection from previous integer type question choice. just for example: int number of gear=4, i want to mark/select 4 options in the next multiple selection type question.

2. What steps can we take to reproduce this issue?

3. What have you tried to fix the issue?

4. Upload any forms or screenshots you can share publicly below.

Do you want to show only some of the answer options in the second question? I think you'll want to use the choice_filter functionality.

Or do you want the answer options to stay the same, but require the user to select a certain exact number of answers?