Count and sublist


I think it’s simple, but my knowldge is not enough to find solution

I have several elements on each type, and i create a dynamo code to sort them

Any node or code to extract the count of elements in each type? (normaly 3, 4, and 2) but now i have “3” (count of sublists and not of elements on each sublist)


Node >> rigth click >> Lacing >> Longest.

Hi Ghassen,

Right click on “List.Count” set lacing to longest that will count in sublists. Good Luck!

thank you