Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Characteristics WHERE characteristic_data_type = "flax"
Feedback: Replace characteristic data type with Products' product name .
Output (English): SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  "flax"