Combinatorica`
Combinatorica`

NumberOfPermutationsByType

NumberOfPermutationsByTypes[l]

gives the number of permutations of type l.

Details