Let us switch the point of attack and concentrate on the losers.
How many people lost?? the answer is 164
It takes one match to lose therefore there were 164 matches played.