For each competition, count the number of matches.
select count(*), competition from match group by competition