Set content type for count api