CREATE TABLE table_name_37 (losses VARCHAR(255), goal_difference VARCHAR(255), position VARCHAR(255))
What is the number of losses when the goal difference was -8, and position is smaller than 10?
    
SQL: SELECT COUNT(losses) FROM table_name_37 WHERE goal_difference = -8 AND position < 10