exclusion_count function

Count the number of excluded samples at each step