Task: Text to Code
Input (English): How many orders does Luca Mancini have in his invoices?
Output (English): SELECT count(*) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "Lucas" AND T1.last_name = "Mancini"