What are the number of products that had problems?
SELECT count ( * )  FROM problems AS T1 JOIN product AS T2 ON T1.product_id  =  T2.product_id
number of products that had problems refers to COUNT(*) of products joined with problems table on matching product_id;