public static function getMostPopularValue(array $values, $returnKey = false)
    {
        $mostPopular = null;

        foreach ($values as $k => $value) {
            if ($mostPopular === null || count($value['providers']) > count($values[$mostPopular]['providers'])) {
                $mostPopular = $k;
            }
        }

        if (isset($mostPopular)) {
            return $returnKey ? $mostPopular : $values[$mostPopular]['value'];
        }
    }