How many lesson does customer with first name Ray took?
select count(*) from lessons as t1 join customers as t2 on t1.customer_id = t2.customer_id where t2.first_name = "Ray"