Find the number of medications prescribed for each brand.
SELECT count(*) ,  T1.name FROM medication AS T1 JOIN prescribes AS T2 ON T1.code = T2.medication GROUP BY T1.brand
number of medications prescribed for each brand refers to COUNT(*) GROUP BY brand; medications refers to medication table; prescribed refers to prescribes table; each brand refers to medication.brand;