move pileup count scripts here