Grasshopper finding number of items in data tree branch

I shattered some curves - most of the curves shattered into 4 segments but some into 5 segments.McNeelForumDataTreeItemCount
How can I find number of items per branch so that I can select the branches with 5 segment curves? I want to join a couple of them to end up with 4 curve segments too.
Many thanks.

Sets->Tree->Tree Statistics

thanks… it works… !

Also List Length.

1 Like