How many words have repetitions greater than 2000 and lower than 5000?
repetitions greater than 2000 and lower than 5000 refer to occurrences between 2000 and 5000;
SELECT COUNT(wid) FROM langs_words WHERE occurrences BETWEEN '2000' AND '5000'