CREATE TABLE table_204_311 (id DECIMAL, "rank" DECIMAL, "nation" TEXT, "gold" DECIMAL, "silver" DECIMAL, "bronze" DECIMAL, "total" DECIMAL)

how many teams won more than 6 medals total ?
SELECT COUNT("nation") FROM table_204_311 WHERE "total" > 6
SELECT COUNT("nation") FROM "table_204_311" WHERE "total" > 6