Find the number of matches in different competitions.
select count(*), competition from match group by competition