question: How many different products are produced in each headquarter city?
#1 return headquarter cities 
#2 return products produced in #1 
#3 return different #2 
#4 return number of  #3 for each #1