The countrecords() function returns the number of records in the specified table.
countrecords(table table_name)
• table table_name – The name of the table you want to count records in.
Long integer
This function can also be used to retrieve an estimate of the number of records in a range.