TotalRecordsFound ( [ string $pointer_id ] )
Returns number of records server says matches query from previous SearchQuery(). If your SearchQuery() request included Count=1, this number may just be the number of records returned in the response or may be the total number of records that match your query (caused by an ambiguity in the RETS specification and dependant on server implementor). SearchQuery() with Count=0 will not return this value. SearchQuery() with Count=2 will return a value representing all matching records with no records.
| Version | Description |
| 1.0rc2 | Made $pointer_id a parameter that can be passed |
if ($rets->TotalRecordsFound() > 1000) {
// server reports more than 1000
}