• Returns the depth of node. A root node (ie. with no parents) has a depth of 0.

    Parameters

    Returns number