From time to time I find myself needing to pick any instance of ObjectA, if the value of its instance variable matches the UID of ObjectB, but in doing so ObjectB also needs to be picked.
Sometimes I also need to count the number of instances of ObjectA which instance variable match against the UID of ObjectB, which means that it would need to return 0 if there are no such matches.
I've used various methods to achieve this ranging from looping to using containers, but given that Construct often has clever shortcuts to otherwise convoluted operations, does anyone know what the most efficient way of achieving the desired results is, by only using pure vanilla events and expressions, and without using custom code or plugins?