• LeafCount[expr] gives the total number of indivisible subexpressions in expr.
• LeafCount gives a measure of the total "size" of an expression.
• LeafCount counts the number of subexpressions in expr which correspond to "leaves" on the expression tree.
• Example: LeafCount[1 + a + b^2]
is based on FullForm
representation of expressions.
• New in Version 1.