This may be your solution. Give it a try and please report back...
The AI instruction with regards to "Set the Number of Repeats" is incorrect.
The user likely needs a volta which indicates repetition with different endings.
It is used in combination with repeat bar lines.
The following will repeat the measures enclosed in the begin and end repeat bar lines for 10x:

To add repeat barlines, right click measure and select "Repeat->Begin Repeat/End Repeat".

To add volta, the volta tool can be used or right click measure and select "Measure->Add Volta.


For the volta, the repetition can be set using the volta dialog. To open the dialog, right click the volta and select "Edit Volta":