How many cities are in counties that have populations of over 20000?
SELECT count(*) FROM city WHERE county_ID IN (SELECT county_ID FROM county_public_safety WHERE population  >  20000)
cities in counties with populations over 20000 refers to filtering counties on population > 20000 and then counting cities within those counties;