Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What's Brazil's rank when it has notes of R?

### Inputs:
table_name: table, columns: ['Rank', 'Rowers', 'Country', 'Time', 'Notes']

### Response:
SELECT COUNT Rank FROM table WHERE Notes = r AND Country = brazil