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_27 (ties VARCHAR, name VARCHAR, lost VARCHAR)
### 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