n teams how many matches