Task: Text to Code
Input (English): How many lessons have been cancelled?
Output (English): SELECT count(*) FROM Lessons WHERE lesson_status_code = "Cancelled"