Sheet Counting function

I am trying to set sheets as “___ of ___” on the titleblock. There is another posting on the forums, but I have tried the recommended fixes but have had no luck :frowning:

I have tried a bunch of different variations, but all yield the same error for “Sheet Set Counter” output.

Try:

Boom! Solved the issue, thanks @Tomasz

Now I just have to clean up some sheet sorting/ordering

Any thoughts on how I can sort my sheets by “Dicsipline Order”? Every time I call for the parameter, it is in the strange order [1,10,11,12,13,2,21,22,3,4,5,6,7…20]

I have tried every combination I can imagine, but I cannot sort them in the “proper” order. Is there a node or process I am not considering?

Attached is the file for reference
Thanks

Sheets 02 - Set Sheet Of Total Number.dyn (36.5 KB)

Please open a new thread for your new question.