Question: How many countries have at least 3 cities?
SQL: select count ( * )  from  ( SELECT * FROM city AS T1 JOIN country AS T2 ON T1.country_id   =   T2.country_id GROUP BY T2.country_id HAVING count ( * )    > =    3 )