public static function totalSegments() : Int
    {
        $segmentEx     = array_diff(self::segmentArray(), ["", " "]);
        $totalSegments = count($segmentEx);

        return $totalSegments;
    }