Question: How many cities had a census of 400000 in 1940?
SQL: SELECT COUNT Rank FROM table WHERE 1940 census = 400000