Write SQL query to solve given problem: In geographic identifier from 20 to 50, how many of them has a number of inhabitants below 20?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(GEOID) FROM Demog WHERE INHABITANTS_K < 20 AND GEOID >= 20 AND GEOID <= 50