CREATE TABLE table_77024 ("Rank" FLOAT, "Nation" TEXT, "Gold" FLOAT, "Silver" FLOAT, "Bronze" FLOAT, "Total" FLOAT)

What is the total number of Gold, when Silver is 2, and when Total is less than 7?
SELECT COUNT("Gold") FROM table_77024 WHERE "Silver" = '2' AND "Total" < '7'
SELECT COUNT("Gold") FROM "table_77024" WHERE "Silver" = '2' AND "Total" < '7'