public function getAverageCategoriesScoreByCompanySize(Collection $client_surveys, string $locale): array 	{ 		$benchmarkReportService = new BenchmarkReportService; 		$categories_avg_scores = []; 		$categories_avg_score_sum = 0;  		$client_surveys->each(function (ClientSurvey $client_survey) use ($benchmarkReportService, &$categories_avg_score_sum, &$categories_avg_scores, $locale) { 			$categories = $client_survey->survey->categories; 			$categories_data = $benchmarkReportService->calculateClientSurveyFinalGrade($client_survey, $locale); 			$all_categories_avg_score = round(array_sum(array_column($categories_data, 'score')), 2) / $categories->count(); 			$categories_avg_score_sum += $all_categories_avg_score; 			array_push($categories_avg_scores, $all_categories_avg_score); 			$all_categories_avg_score = 0; 		});  		$categories_avg_scores = collect($categories_avg_scores)->sortBy(['desc'])->toArray();  		$avg_score = $client_surveys->count() ? round($categories_avg_score_sum / $client_surveys->count(), 4) : 0;  		return [ 			'avg_score' => $avg_score, 			'avg_score_top_three' => array_slice($categories_avg_scores, 0, 4), 		]; 	}