leafCount

leafCount(expr)

Try it yourself:

See also:
All functions