change where wmstats get output dataset number.
Merge pull request #5246 from ticoann/wmstats_output_dataset_number

change where wmstats get output dataset number.