public static function buildUniquePath($path, $languageCode)
    {
        $count = self::query()
            ->where('language_code', $languageCode)
            ->whereRaw("path ~ '^$path($|-[0-9]+$)'")
            ->count();

        return ($count) ? $path . '-' . $count : $path;
    }