Dimensions > Dimensions Assembly Interfaces > IDimSelectionSet > IDimSelectionSet.Count
Count: Integer;
The Count property returns the number of dictionary selections.
See also:
IDimSelectionSet