CREATE TABLE routes (dst_apid VARCHAR)
CREATE TABLE airports (apid VARCHAR, name VARCHAR)

Find the number of routes that have destination John F Kennedy International Airport.
SELECT COUNT(*) FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid WHERE T1.name = 'John F Kennedy International Airport'
SELECT COUNT(*) FROM "airports" AS "T1" JOIN "routes" AS "T2" ON "T1"."apid" = "T2"."dst_apid" WHERE "T1"."name" = 'John F Kennedy International Airport'