Definition. Subtree size [00U7]

If r is some node in a binary search tree, let S(r) be the size of the subtree rooted at r, that is, the number of nodes which have r as their ancestor (including r itself).