CREATE TABLE airports (city VARCHAR)

How many cities are there that have more than 3 airports?
SELECT COUNT(*) FROM (SELECT city FROM airports GROUP BY city HAVING COUNT(*) > 3)
WITH "cte" AS (SELECT 1 AS "_" FROM "airports" GROUP BY "city" HAVING COUNT(*) > 3) SELECT COUNT(*) FROM "cte" AS "cte"