partage && $quiz->theme !== null, 404); return new QuizResource($quiz->loadCount('questions')); } }