CREATE TABLE table_name_12 (rank VARCHAR, nationality VARCHAR, time VARCHAR)

How many ranks have a ationality of canada, and a Time of dns?
SELECT COUNT(rank) FROM table_name_12 WHERE nationality = "canada" AND time = "dns"
SELECT COUNT("rank") FROM "table_name_12" WHERE "canada" = "nationality" AND "dns" = "time"