HELP Fix to rebar from single rebar to fixed number

Thank you!!

Do you even need a script to change it?
Select all reinforcement you want to change and select to Fixed number:

image