The property RowCount is expensive with complex queries, as it requires passing through the cursor rows. By using GetRowCount(
threshold ), 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.