added script to generate dataset stats