Added CORS to GET countevent