plot.count_test improved