SELECT COUNT(DISTINCT Title) FROM test.hits SETTINGS max_threads = 24 SELECT COUNT(DISTINCT Referer) FROM test.hits SETTINGS max_threads = 22