Numbering Elements One below Other

Hello @RodrigoRoa ,

Welcome to Dynamo Community,
I have solve the similar type of problem, so you can have a reference and update the script as per your requirement.