fixed updateUnmergedDatasets to count nFiles in Contents