CREATE TABLE "heat_1" (
  "rank" real,
  "rowers" text,
  "country" text,
  "time" text,
  "notes" text
);

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