Table schema:
CREATE TABLE table_name_30 (viewers VARCHAR, rank VARCHAR)

Question: What is the total number of Viewers when the rank is #40?
SQL: SELECT COUNT(viewers) FROM table_name_30 WHERE rank = "#40"