The scripting component maps the list input access as IEnumerable in the code. By default, this interface is not defining the Count property/function…
This can be added by manually (oh my) adding using System.Linq;
Is it possible the script would instead use the IList ? Still compatible with arrays and lists, providing the Count method ootb and a few others.

IList Interface (System.Collections.Generic) | Microsoft Learn

It is a list anyway.


IEnumerable won’t provide the indexer… (kind of obvious, just not convenient)

I believe this issue has been addressed in the latest release candidate.

1 Like

Thanks, can’t use the RC in my setup unfortunately - hence I didn’t know about it.

1 Like