Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM routes
Feedback: Should only find for routes which are operated by airlines's name equals American airline .
Output (English): SELECT count(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid WHERE T1.name  =  'American Airlines'