What is the average total in the county of tipperary with a rank less than 1?
CREATE TABLE table_name_47 (average VARCHAR, county VARCHAR, rank VARCHAR)
SELECT COUNT(average) FROM table_name_47 WHERE county = "tipperary" AND rank < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: 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? [/INST] SELECT COUNT(average) FROM table_name_47 WHERE county = "tipperary" AND rank < 1 </s>