What are the number of problems each of these had?
SELECT count ( * )  ,  T2.product_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id  =  T2.product_id GROUP BY T2.product_id
number of problems refers to COUNT(*); each of these refers to grouping by product_id;