How to select one item of the same number in grass hopper

How do I select one number? For example, I want to select only the purple 2, How would I do this? Thanks!


final.3dm (69.1 KB)
final.gh (19.4 KB)

There are many ways to do that, one of which is to flatten the input