question: Tell me the total number of ties for name of totals and lost more than 30
answer: SELECT COUNT(ties) FROM table_name_27 WHERE name = "totals" AND lost > 30
context: CREATE TABLE table_name_27 (ties VARCHAR, name VARCHAR, lost VARCHAR)