CREATE TABLE table_name_4 (rank VARCHAR, notes VARCHAR, country VARCHAR)

What's Brazil's rank when it has notes of R?
SELECT COUNT(rank) FROM table_name_4 WHERE notes = "r" AND country = "brazil"
SELECT COUNT("rank") FROM "table_name_4" WHERE "brazil" = "country" AND "notes" = "r"