The RowCount property is expensive with complex queries, as it requires passing through the cursor rows. By using the GetRowCount(
threshold ) method, the caller can determine if there are at least threshold rows. If the number of rows is below the threshold,
that number is returned; otherwise, threshold is returned. This can be called again with a higher threshold.