Gold that has a Rank of 6, and a Bronze larger than 0 had what total number of gold?
CREATE TABLE "titles_by_country" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT COUNT("gold") FROM "titles_by_country" WHERE "rank"='6' AND "bronze">0;