How many districts have an incumbent first elected in 1940?
CREATE TABLE table_1342256_10 (district VARCHAR, first_elected VARCHAR)
SELECT COUNT(district) FROM table_1342256_10 WHERE first_elected = 1940
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342256_10 (district VARCHAR, first_elected VARCHAR) Question: How many districts have an incumbent first elected in 1940? [/INST] SELECT COUNT(district) FROM table_1342256_10 WHERE first_elected = 1940 </s>