How do you describe a minimum consecutive pattern?

It needs several constraints to do this.
For example, if you need a minimum of three consecutive A shifts, you must prohibit two consecutive A shifts and a single A shift.

rep2



rep2