Log correct sample count when appending to disk.