Write SQL query to solve given problem: In male customers ages from 30 to 50, how many of them has an income ranges from 2000 to 2300?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(T1.ID) FROM Customers AS T1 INNER JOIN Demog AS T2 ON T1.GEOID = T2.GEOID WHERE T1.SEX = 'Male' AND T1.age >= 30 AND T1.age <= 50 AND T2.INCOME_K >= 2000 AND T2.INCOME_K <= 2300