Depth

WMA link


Depth[expr]

gives the depth of expr.

The depth of an expression is defined as one plus the maximum
number of Part indices required to reach any part of expr,
except for heads.

Complex numbers are atomic, and hence have depth 1:

Depth ignores heads:

FreeQ