Qurak

TreeCount

Available

Counts the nodes of a tree whose data matches a pattern (with an optional level specification)

TreeCount[tree, pattern]
TreeCount[tree, pattern, levelspec]
TreeCount[pattern]

Topics

Related

All 6300 functions · Use this from an MCP client