Write SQL query to solve given problem: How many Catalan language wikipedia pages have between 1000 to 2000 number of different words?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(pid) FROM pages WHERE words BETWEEN 1000 AND 2000