CREATE TABLE table_name_51 (pos VARCHAR(255), driver VARCHAR(255), race_1 VARCHAR(255), points VARCHAR(255), qualifying VARCHAR(255))
What is the total number of positions with less than 10 points, more than 7 qualifying, ret value in Race 1, and Jonathan Grant driving?
    
SQL: SELECT COUNT(pos) FROM table_name_51 WHERE points < 10 AND qualifying > 7 AND race_1 = "ret" AND driver = "jonathan grant"