Task: Text to Code
Input (English): How many events are there?
Output (English): SELECT count(*) FROM event