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?
CREATE TABLE "world_championships_total_medals" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT MAX("gold") FROM "world_championships_total_medals" WHERE "total"<171 AND "nation"='united states' AND "bronze"<9;