Is it possible to set the amount of times for a Action Step repeat?

I have a database that I would like to add a repeat for events if they are weekly or monthly.
Is there a way I can set the amount of times an item repeats in the Action Step Repeat?
I would also need to add the first date and then add the frequency of the event.

Any ideas?

Just enter 5 as an expression for the repeat and it will repeat 5 times.

This is for inserts to a database.
I have a select for
Single (1) weekly (7) biweekly (14)
And a qty (weeks) to repeat
So I need the insert to the events database to repeat on the qty and add relevant days for the select.
If that makes sense xxxx