user: ### NOW ANSWER:
Question: How many incumbents were first elected in 1797 with the candidates Abram Trigg (DR)?
Columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result', 'Candidates']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Virginia 1', 'None (District created)', 'None (District created)', 'None (District created)', 'New seat Democratic-Republican gain', 'John G. Jackson (DR) Thomas Wilson (F)']
SQL:

assistant: SELECT COUNT("Incumbent") FROM "Table" WHERE "First elected" = '1797' AND "Candidates" = 'Abram Trigg (DR)';