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