CREATE TABLE table_204_174 (id DECIMAL, "rank" DECIMAL, "name" TEXT, "nationality" TEXT, "result" DECIMAL, "notes" TEXT)

how many nationalities are there after rank 5 ?
SELECT COUNT(DISTINCT "nationality") FROM table_204_174 WHERE "rank" > 5
SELECT COUNT(DISTINCT "nationality") FROM "table_204_174" WHERE "rank" > 5