don't count permutations of the same solution