Ensured that counts for permutations are integers.