Computes the depth of an expression.
The expression whose depth is to be computed.
The depth of the given expression, that is, the maximum depth of branches in the expression's tree representation.