CREATE TABLE problems (product_id VARCHAR)
CREATE TABLE product (product_id VARCHAR, product_name VARCHAR)

How many problems are there for product voluptatem?
SELECT COUNT(*) FROM product AS T1 JOIN problems AS T2 ON T1.product_id = T2.product_id WHERE T1.product_name = "voluptatem"
SELECT COUNT(*) FROM "product" AS "T1" JOIN "problems" AS "T2" ON "T1"."product_id" = "T2"."product_id" WHERE "T1"."product_name" = "voluptatem"