Table schema:
CREATE TABLE table_1342315_17 (district VARCHAR, incumbent VARCHAR)

Question: How many districts does riley joseph wilson?
SQL: SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "Riley Joseph Wilson"