feat: add `Lean.Expr.numObjs`

Add helper function for computing the number of allocated sub-expressions in a given expression.
Note: Use this function primarily for diagnosing performance issues.
2 files changed