How to detect number of empty slots?

So I’m making something which divides the number of user inputs over multiple scripts.
I know how to detect explicit parameters:

[length V] of ([input names V] of (script))

But the problem is with implicit empty slots:
I’ve tried metaprogramming, but I just can’t find any way to detect the empty slots.

Does anyone know how?

You mean finding empty slots like this?

That works for me, thx!


By technicality, there’s a few problems, but eh, what can you do :upside_down_face:, This willl work!