Task: Text to Code
Input (English): How many routes go from the United States to Canada?
Output (English): SELECT count(*) FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country  =  'Canada') AND src_apid IN (SELECT apid FROM airports WHERE country  =  'United States')