.Record count returns maximum 10 for outstanding reasons

* query the record count beforehand in a separate query