Take event type id into account when we return the count. Otherwise, we return events for all types.