It looks like you want to know how many subsets have, say, 3 elements. The math for this is very complex, very fast. The idea is that you want to combine all the combinations of ways to get there. So you have C (3,4) = 4 ways to do this without duplicating items. B can be repeated twice in C (1,3) = 3 ways. B can be repeated 3 times in one way. And C can be repeated twice in C (1,3) = 3 ways. Only 11. (Your 10, which you received by hand, were wrong. Sorry.)
, . , , , . , (1 + x) ^ n. ( , .) , , (1 + x + x ^ 2). 3 (1 + x + x ^ 2 + x ^ 3). , :
(1 + x) (1 + x + x^2 + x^3) (1 + x + x^2) (1 + x)
= (1 + 2x + 2x^2 + 2x^3 + x^4)(1 + 2x + 2x^2 + x^3)
= 1 + 2x + 2x^2 + x^3 +
2x + 4x^2 + 4x^3 + 2x^4 +
2x^2 + 4x^3 + 4x^4 + 2x^5 +
2x^3 + 4x^4 + 4x^5 + 2x^6 +
x^4 + 2x^5 + 2x^6 + x^7
= 1 + 4x + 8x^2 + 11x^3 + 11x^4 + 8x^5 + 4x^6 + x^7
, , . ( .)