How many word appeared 8 times? State the language id of the page.
appeared 8 times refers to occurrences = 8;
SELECT COUNT(T2.wid), T1.lid FROM pages AS T1 INNER JOIN pages_words AS T2 ON T1.pid = T2.pid WHERE T2.occurrences = 8