How filament change times is determined

I am a little confused about the filament change times. In my model it changes 26 times, but from my novice viewpoint it looks like it would only need to change at the interface layers. I have the interface layer set to 3 layers but when I look at the model it looks like there is more and it is mixed in with regular material, so maybe that is the cause?