How many different products are produced in each headquarter city?
select count(distinct t1.name), t2.headquarter from products as t1 join manufacturers as t2 on t1.manufacturer = t2.code group by t2.headquarter