Task: Text to Code
Input (English): How many locations are listed in the database?
Output (English): SELECT count(*) FROM Ref_locations