text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_34 (average VARCHAR, total_points VARCHAR, rank_by_average VARCHAR)
  ### Question:
  What is the total average with 54 total points and a rank less than 10?
  ### Answer:
  SELECT COUNT(average) FROM table_name_34 WHERE total_points = 54 AND rank_by_average < 10