user: Question: How many in Lost renomination results were elected first?
Columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result', 'Candidates']
Types: ['text', 'text', 'text', 'real', 'text', 'text']
Sample row: ['Alabama 1', 'John McDuffie', 'Democratic', 1918.0, 'Re-elected', 'John McDuffie (D) Unopposed']
SQL:

assistant: SELECT COUNT("First elected") FROM "Table" WHERE "Result" = 'Lost renomination';