This method retrieves a count of the items in a tree view control.
UINT GetCount( );
CTreeCtrl::GetVisibleCount