return the number of elements in this path . concode_field_sep char SEPARATOR_CHAR concode_elem_sep Pattern hasDriveLetterSpecifier concode_elem_sep String SEPARATOR concode_elem_sep boolean WINDOWS concode_elem_sep String CUR_DIR concode_elem_sep URI uri concode_elem_sep Pattern hasUriScheme concode_field_sep Path getParent concode_elem_sep String getName concode_elem_sep boolean isRoot concode_elem_sep URI toUri concode_elem_sep FileSystem getFileSystem concode_elem_sep int compareTo concode_elem_sep Path suffix concode_elem_sep Path mergePaths concode_elem_sep Path getPathWithoutSchemeAndAuthority concode_elem_sep boolean hasWindowsDrive concode_elem_sep int hashCode concode_elem_sep void checkNotSchemeWithRelative concode_elem_sep boolean isUriPathAbsolute concode_elem_sep boolean equals concode_elem_sep Path makeQualified concode_elem_sep Path makeQualified concode_elem_sep void checkNotRelative concode_elem_sep boolean isWindowsAbsolutePath concode_elem_sep boolean isAbsolute concode_elem_sep String toString concode_elem_sep void initialize concode_elem_sep boolean isAbsoluteAndSchemeAuthorityNull concode_elem_sep void checkPathArg concode_elem_sep String normalizePath
int function ( ) { String loc0 = uri . getPath ( ) ; int loc1 = 0 ; int loc2 = loc0 . length ( ) == 1 && loc0 . charAt ( 0 ) == '/' ? - 1 : 0 ; while ( loc2 != - 1 ) { loc1 ++ ; loc2 = loc0 . indexOf ( SEPARATOR , loc2 + 1 ) ; } return loc1 ; }