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 (total INTEGER, county VARCHAR, rank VARCHAR)
### Question:
How many totals does cork have whose rank is larger than 2?
### Answer:
SELECT SUM(total) FROM table_name_27 WHERE county = "cork" AND rank > 2