total_records
— Get the total number of a given type of record in the database.
Summary
- total_records($recordType)
Get the total number of a given type of record in the database.
- Parameters:
$recordType (
string
) – Type of record to count.
- Returns:
int Number of records of $recordType in the database.