Table schema:
CREATE TABLE table_name_26 (total_games VARCHAR, draw VARCHAR, loss VARCHAR, league VARCHAR)

Question: What is the total number of games with more than 18 loses, a Total League, and more than 317 draws?
SQL: SELECT COUNT(total_games) FROM table_name_26 WHERE loss > 18 AND league = "total" AND draw > 317