instruction: how many FIRST class flights are provided by AA
response: SELECT COUNT(DISTINCT flight.flight_id) FROM fare, fare_basis, flight, flight_fare WHERE fare_basis.class_type = 'FIRST' AND fare.fare_basis_code = fare_basis.fare_basis_code AND flight_fare.fare_id = fare.fare_id AND flight.airline_code = 'AA' AND flight.flight_id = flight_fare.flight_id