I think you are expecting a simple formula for this but there is none.

For one, we need to know not only how different kinds we have but also how many of each kind.

Here is an example.

.

Expand .

Looking at the coefficients we can answer your question.

tells us there are six possible combinations of three.

tells us there are five possible combinations of four, etc.

Whole courses have been given on counting problems.