Write SQL query to solve given problem: How many users installed the app but are not active?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(app_id) FROM app_events WHERE is_installed = 1 AND is_active = 0