calculateDepth

The maximum depth of the reference tree

Return

The maximum depth of the reference tree