Question: How many users installed the app but are not active?
SQL: SELECT COUNT(app_id) FROM app_events WHERE is_installed = 1 AND is_active = 0