add finished correct_bin_count.py and write_bin_statistics.py