TotalCount: Integer;
The TotalCount property returns the total number of records with search results.
The example of work with the ISearchResults collection is given in description of the ISearchExecutor.Search method.
See also:
ISearchResults