original_string: public function getPathCount( $mainTranslation = false )
      {
          $pathArray = explode( '/', trim( $this->attribute( 'path_string' ), '/' ) );
  
          if ( !is_array( $pathArray ) || empty( $pathArray ) || count( $pathArray ) == 1 )
              return 0;
  
          $pathArray = array_slice( $pathArray, 0, count( $pathArray ) - 1 );
  
          return self::fetchListCount( array( 'id' => array( $pathArray ) ), $mainTranslation );
      }
code: public function getPathCount( $mainTranslation = false )
      {
          $pathArray = explode( '/', trim( $this->attribute( 'path_string' ), '/' ) );
  
          if ( !is_array( $pathArray ) || empty( $pathArray ) || count( $pathArray ) == 1 )
              return 0;
  
          $pathArray = array_slice( $pathArray, 0, count( $pathArray ) - 1 );
  
          return self::fetchListCount( array( 'id' => array( $pathArray ) ), $mainTranslation );
      }
code_tokens: public function getPathCount ( $ mainTranslation = false ) { $ pathArray = explode ( '/' , trim ( $ this -> attribute ( 'path_string' ) , '/' ) ) ; if ( ! is_array ( $ pathArray ) || empty ( $ pathArray ) || count ( $ pathArray ) == 1 ) return 0 ; $ pathArray = array_slice ( $ pathArray , 0 , count ( $ pathArray ) - 1 ) ; return self :: fetchListCount ( array ( 'id' => array ( $ pathArray ) ) , $ mainTranslation ) ; }
docstring: Returns the count of eZTagsObject objects which are parents of this tag
  
  @param bool $mainTranslation
  
  @return int
docstring_tokens: Returns the count of eZTagsObject objects which are parents of this tag