用 Selected.Count 属性。
Indicates the number of direct descendants of a tree node.
property Count: Integer;
Description
Use Count to determine how many child nodes belong to a tree node. Count includes
only immediate children, and not their descendants. Count can be useful when iterating
through the children of a tree node.