methodPath.LenLen returns the number of path segments.ReturnsFull signatureReturnsThe declared result.intFull signaturefunc (path Path) Len() intSource query/path.go:111Related typesPathAn immutable, validated document field path.