Update countRecords