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_12 (rank INTEGER, total VARCHAR, nation VARCHAR)
### Question:
What is the sum of rank when total is 3 and the nation is Australia?
### Answer:
SELECT SUM(rank) FROM table_name_12 WHERE total = 3 AND nation = "australia"