Task: Text to Code
Input (English): How many problems did the product called "voluptatem" have in record?
Output (English): SELECT count(*) FROM product AS T1 JOIN problems AS T2 ON T1.product_id = T2.product_id WHERE T1.product_name = "voluptatem"