database inspecotr: report the total number of records in database