Count: Integer;
The Count property returns number of indexed elements.
The example of work with the ISearchDimSelectionElements collection is given in description of the ISearchSourceDataResult.SourceMetadata property.
See also:
ISearchDimSelectionElements