Task: Text to Code
Input (English): How many flights depart from 'APG'?
Output (English): SELECT count(*) FROM FLIGHTS WHERE SourceAirport  =  "APG"