Tab > Tab Assembly Interfaces > ITabUserInteractiveSelections > ITabUserInteractiveSelections.Count
Count: Integer;
The Count property returns the number of interactive ranges in the collection.
See also:
ITabUserInteractiveSelections