Correction of the mime type of the /events_count