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_47 (average VARCHAR, county VARCHAR, rank VARCHAR)
### Question:
What is the average total in the county of tipperary with a rank less than 1?
### Answer:
SELECT COUNT(average) FROM table_name_47 WHERE county = "tipperary" AND rank < 1