CREATE TABLE table_name_34 (average VARCHAR, total_points VARCHAR, rank_by_average VARCHAR)

What is the total average with 54 total points and a rank less than 10?
SELECT COUNT(average) FROM table_name_34 WHERE total_points = 54 AND rank_by_average < 10
SELECT COUNT("average") FROM "table_name_34" WHERE "rank_by_average" < 10 AND "total_points" = 54