Write SQL query to solve given problem: How many users of the app were not active when event no.2 happened?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(event_id) FROM app_events WHERE event_id = 2 AND is_active = 0