Hi Jim,
As an example, consider the general population of vectors of length n = 5 composed of n letters: a,b,c,d,e.
This population has well known size n^n.
I'm interested in subsets of this population defined by frequencies of the letters (in this example). Here's an example set of frequencies: {1,2,2}. It has members that look like
{a,b,b,c,c},
{a,b,c,b,c},
...,
{d,e,d,e,a}.
Is there a Mathematica function that would calculate the size of this subset, given 5 letters and frequences {1,2,2} ?