For one, we need to know not only how different kinds we have but also how many of each kind.
Here is an example.
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.