Fix an issue when handling import ical errors
Send imported_event_count on import success to client instead of events