Hi everyone!

I want to ask about number pairs counting.

In this screenshot you can see two lists of numbers as input and the list of number combinations as output.

I need to count the number of similar pairs (equal brunches) at the last list (for example there you can see in brunches {3} and {4} pairs of 5 and 100 so they are same).

Do somebody have any ideas how to make this?