How to find the biggest number in the variable with many instances in anoher actor

Here:

And then: