Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Ref_Product_Categories AS T1 JOIN Products AS T2 ON T1.product_category_code = T2.product_category_code WHERE T2.product_category_code = "Spices" AND T1.product_category_description > 1000
Feedback: Need to find typical buying price in place of product category description in step 2.
Output (English): SELECT count(*) FROM products WHERE product_category_code  =  "Spices" AND typical_buying_price  >  1000