TreePath.getDepth

int getDepth()

Returns the current depth of path.

Returns

The depth of path