public function getEngagementForTopThreeClientSurveys(Collection $client_surveys): array 	{ 		$companies_ranked = []; 		$benchmarkReportService = new BenchmarkReportService;  		foreach ($client_surveys as $client_survey) { 			$categories_data = $benchmarkReportService->calculateClientSurveyFinalGrade($client_survey); 			$score = count($categories_data) ? number_format(array_sum(array_column($categories_data, 'score')) / count($categories_data), 3) : null;  			$companies_ranked[] = [ 				'total_grade' => $score, 				'engagement' => $this->izzPdfEngagementCalculationService->calculateApplicantEngagementPercentages($client_survey), 			]; 		}  		$companies_ranked = collect($companies_ranked)->sortBy(function ($item) { 			return $item['total_grade']; 		}, SORT_REGULAR, true)->take(3)->pluck('engagement')->all();  		$array_keys = array_keys($companies_ranked[0] ?? []); 		$count = count($companies_ranked); 		$finnalCalcualtion['count'] = $count;  		foreach ($array_keys as $array_key) { 			$finnalCalcualtion[$array_key] = round(array_sum(array_column($companies_ranked, $array_key)) / $count, 2); 		}  		return $finnalCalcualtion; 	}