Peak count is the number of occasions (not the number of samples) that the signal attained either Min level, or Max level.