Updating the number of files for each dataset.