How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points?
CREATE TABLE "1965_season_finished_5th_39pts_out_of_18" (
  "rider" text,
  "matches" real,
  "rides" real,
  "bonus_pts" real,
  "total_points" real
);
SELECT COUNT("rides") FROM "1965_season_finished_5th_39pts_out_of_18" WHERE "total_points"<274 AND "rider"='ray day' AND "bonus_pts">3;