This version of Unity is unsupported.

SerializedProperty.depth

public int depth;

Description

Nesting depth of the property. (Read Only)

See Also: propertyPath.