leafCount
leafCount(expr)
Try it yourself:
| $1 |
leafCount("e^(i*pi)-1")
|
|
| $2 |
leafCount(parse("{a: 22/7, b: 10^(1/2)}"))
|
See also:
All functions