Room ReNumber graph not working properly

I cannot seem to get this graph to work properly, I am guessing a typo, but I cannot seem to nail it down.
What Am I missing?
This graph is expecting the user to pick the rooms in the order of how they want them numbered incrementally by 1 and hitting finish.
The graph is showing I picked 4 rooms but only two are renumbered. ?

ROOM_RENUMBER.dyn (4.2 KB)

Hi @Dave_Vaughn

Your values list and elements list should match. Currently your values are 2 nos. But your elements are 4. Use List.Count node and connect to your code block. Hope that make sense!

1 Like

Thank you sir!
After stepping away and coming back to visit your comment I noticed in my graph i did not connect the output of the picked elements to the input of the count code block…geez.
Works perfectly now!