public function getAverageCategoriesScoreByCompanySize(Collection $client_surveys, string $locale, ?bool $top_three_survey = false): array 	{ 		$total_avg_and_categories_scores = []; 		$scores_sum_per_category = []; 		$number_of_surveys = $top_three_survey ? 3 : $client_surveys->count();  		$total_avg_and_categories_scores = $this->getTotalAvgAndCategoriesScores($client_surveys, $locale); 		$surveys_data = collect($total_avg_and_categories_scores)->sortBy([['total_avg_score', 'desc']]); 		$surveys_data = $top_three_survey ? $surveys_data->take(3) : $surveys_data; 		$top_three_surveys_scores = $surveys_data->pluck('scores')->toArray();  		$scores_sum_per_category = $this->getSumByCategory($top_three_surveys_scores);  		return $this->getAvgCategoriesScores($scores_sum_per_category, $number_of_surveys); 	}