Table: election_results_1976_2
Columns: district
incumbent
party
first_elected
result
candidates

Question: How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%?
SQL: SELECT COUNT("result") FROM election_results_1976_2 WHERE "candidates" = 'Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.8%'

Question: What year was incumbent mark w. hannaford elected?
SQL: SELECT MIN("first_elected") FROM election_results_1976_2 WHERE "incumbent" = 'Mark W. Hannaford'