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_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?
### Answer:
SELECT COUNT(losses) FROM table_name_37 WHERE goal_difference = -8 AND position < 10