caculate sample size for non file partitioned corpora
Remove comments, make build_superset public method