Count the number of schools that have had basketball matches.
select count(distinct school_id) from basketball_match