A tennis tournament has 342 players. A single match involves

A tennis tournament has 342 players. A single match involves 2 players. The winner of a match will pay the winner of a match in the next round whereas losers are eliminated from the tournament. The 2 players who won all previous rounds plays in the final game. What is the total number of matches needed to determine the winner? Provide a number and a short explanation as to how you arrived at this number.