Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Customers WHERE customer_name = "Rodrick Heaney"
Feedback: Make sure to find unique product id of order items .
Output (English): SELECT count(DISTINCT t3.product_id) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id WHERE t1.customer_name  =  "Rodrick Heaney"