Table schema:
CREATE TABLE table_name_37 (losses VARCHAR, goal_difference VARCHAR, position VARCHAR)

Question: 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