Schema: CREATE TABLE table_name_4 (rank VARCHAR, notes VARCHAR, country VARCHAR)
Question: What's Brazil's rank when it has notes of R?
SQL: SELECT COUNT(rank) FROM table_name_4 WHERE notes = "r" AND country = "brazil"