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_2668243_8 (first_elected VARCHAR, incumbent VARCHAR)
  ### Question:
  How many first elected years are provided for Thomas P. Moore?
  ### Answer:
  SELECT COUNT(first_elected) FROM table_2668243_8 WHERE incumbent = "Thomas P. Moore"