Search Result Count

When using the IEdmSearchResult5 interface, is there anyway to get the total number of results found? Save writting a function that steps through each result and adds to a counter variable?

Thanks in advance.

SolidworksSolidworks Pdm enterprise Pdm