Context: CREATE TABLE table_17503169_1 (district VARCHAR, republican VARCHAR)
Question: How many districts had republican Bob Goodlatte as a candidate?
Answer: SELECT COUNT(district) FROM table_17503169_1 WHERE republican = "Bob Goodlatte"