I need Formula to count number of repetitions in a table
FOr the example, let's say it is LOTTO

1 5 14 40 43
10 13 33 45 48
3 5 14 20 22
20 22 25 48 50
5 7 14 40 41
9 10 13 33 45
2 3 5 23 27
etc


Example Result
How many times 20 and 22 show up in the same line 2
How many times 5 and 14 show up in the same line 3
How many times 10, 13 and 33 show up in the same line 2

I have attached a file Loto.xlsx
Please help! I was using countif and Hlookup but I'm messing it up.