Switch/nrt: Correct get dynamic window count logic