Tree with branches of curves, pick brancres with three items

I have a tree with branches that contains between 1 to 3 curves in each branch. I want only the branches with Three curves in it, and collect this in a New tree. How could I do this with either GH itself or C#?

A number of ways to do this, this one works for a particular list length.

1 Like

another way…

I think that would be one c# way:

1 Like