Tab > Tab Assembly Interfaces > ITabObjects > ITabObjects.SelectedCount
SelectedCount: Integer;
The SelectedCount property returns the number of selected objects.
See also:
ITabObjects