CREATE TABLE order_items (product_id VARCHAR2, order_id VARCHAR2)
CREATE TABLE customers (customer_id VARCHAR2, customer_name VARCHAR2)
CREATE TABLE customer_orders (customer_id VARCHAR2, order_id VARCHAR2)

How many types of products have Rodrick Heaney bought in total?
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"
SELECT COUNT(DISTINCT "t3"."product_id") FROM "customers" "t1" JOIN "customer_orders" "t2" ON "t1"."customer_id" = "t2"."customer_id" JOIN "order_items" "t3" ON "t2"."order_id" = "t3"."order_id" WHERE "Rodrick Heaney" = "t1"."customer_name"