Count All Permutations Of A String