How many users of the app were not active when event no.2 happened?
not active refers to is_active = 0; event no. refers to event_id; event_id = 2;
SELECT COUNT(event_id) FROM app_events WHERE event_id = 2 AND is_active = 0