added counting of non-frozen state in permutation stats