question: How many districts have an incumbent first elected in 1940?
answer: SELECT COUNT(district) FROM table_1342256_10 WHERE first_elected = 1940
context: CREATE TABLE table_1342256_10 (district VARCHAR, first_elected VARCHAR)