text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### 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"