CREATE TABLE table_31710 ("Outcome" TEXT, "Date" FLOAT, "Championship" TEXT, "Surface" TEXT, "Opponent in the final" TEXT, "Score in the final" TEXT)

Tell me the total number of date for carpet
SELECT COUNT("Date") FROM table_31710 WHERE "Surface" = 'carpet'
SELECT COUNT("Date") FROM "table_31710" WHERE "Surface" = 'carpet'