How many lesson does customer with first name Ray took?
CREATE TABLE Lessons (
    customer_id VARCHAR
)

CREATE TABLE Customers (
    customer_id VARCHAR,
    first_name VARCHAR
)
SELECT COUNT(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Ray"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many lesson does customer with first name Ray took? ### Input: CREATE TABLE Lessons (
    customer_id VARCHAR
)

CREATE TABLE Customers (
    customer_id VARCHAR,
    first_name VARCHAR
) ### Response: SELECT COUNT(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Ray"