TCriteriaSource.RetrieveRecordCount Method
Executes a COUNT(*) query to retrieve the total number of records that match the criteria, without fetching the records themselves.
Syntax
Unit: Aurelius.Bind.Dataset
function TCriteriaSource.RetrieveRecordCount: Integer; override;