Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%?

### Inputs:
table_name: table, columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result', 'Candidates']

### Response:
SELECT COUNT Result FROM table WHERE Candidates = Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.8%