Add the number of records to the index.