CladeSizes() reports the number of nodes in each clade in a tree.
CladeSizes(tree, internal = FALSE, nodes = NULL)
A tree of class
Logical specifying whether internal nodes should be counted towards the size of each clade.
Integer specifying indices of nodes at the base of clades whose sizes should be returned. If unspecified, counts will be provided for all nodes (including leaves).
CladeSizes() returns the number of nodes (including leaves) that
are descended from each node, not including the node itself.