SCHEMA:
CREATE TABLE table_name_1 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)
User Question:
The United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals?


SELECT MAX(gold) FROM table_name_1 WHERE total < 171 AND nation = "united states" AND bronze < 9