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_81 (losses VARCHAR, ties VARCHAR, wins VARCHAR)
### Question:
What is the total number of Losses, when Ties is 2, and when Wins is greater than 8?
### Answer:
SELECT COUNT(losses) FROM table_name_81 WHERE ties = 2 AND wins > 8