How many appearances did the player for the Rayo Vallecano club that scored more than 37 goals make?
CREATE TABLE "alumni" (
  "name" text,
  "nationality" text,
  "position" text,
  "year_of_birth" real,
  "career" text,
  "appearances" real,
  "goals" real,
  "club" text
);
SELECT COUNT("appearances") FROM "alumni" WHERE "club"='rayo vallecano' AND "goals">37;