What is the total number of Viewers when the rank is #40?
CREATE TABLE table_name_30 (viewers VARCHAR, rank VARCHAR)
SELECT COUNT(viewers) FROM table_name_30 WHERE rank = "#40"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (viewers VARCHAR, rank VARCHAR) Question: What is the total number of Viewers when the rank is #40? [/INST] SELECT COUNT(viewers) FROM table_name_30 WHERE rank = "#40" </s>