Repeating group rows count, based on provided number

Hello,

Is anybody know if there is a possibility to create rows according to the provided number?
I am building the create lesson view, where users can attach lessons to a specific day. The number of days is determined in the course object. If the course will take 7 days, then in a repeating group I would like to create 7 rows/columns with f.e. radiobuttons. I would like to give a user a possibility to determine which lesson will be related to which day (there could be 1-x lessons in one day).

Maybe do you know another way to achieve that behavior?

Best Regards,
Mateusz