count_distinct_permutations

count_distinct_permutations(sequence) -> 

Counts the number of distinct permutations of a sequence where items may be indistinguishable.

Parameters:
NameDescription
sequenceThe sequence for which to count the distinct permutations.