Task: Text to Code
Input (English): SQL: SELECT Count ( DISTINCT T1.rid ) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid = T2.apid WHERE T2.country = "American Airlines"
Feedback: Change routes table with airlines table , route id with airport id and country with airlines's name .
Output (English): SELECT count(DISTINCT dst_apid) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid WHERE T1.name  =  'American Airlines'