What is the total rank by average for 2 dances, which have more than 37 total points?
CREATE TABLE "average_score_chart" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total_points" real,
  "number_of_dances" real,
  "average" real
);
SELECT COUNT("rank_by_average") FROM "average_score_chart" WHERE "number_of_dances"=2 AND "total_points">37;