The dbstat command returns a list of name/value pairs comprising
the statistics of the database.
The options are as follows:
-recordcount
Return the number of records in the database. The -recordcount
option may only be specified for Recno databases, or Btree databases where
the underlying database was created with the -recnum option.