After applying binomial and multinomial expansions, I get a multiple summation expression in which some summation indices depends on others. I want to find how many terms in such expression (including zero value terms if there are !!!).
E.g., $$\sum_{k=1}^{N}\sum_{i=0}^{k-1}\sum_{j=0}^{2N-k+i}\sum_{l=1}^{M}A_{k}B_{k,i}C_{k,i,j}D_{l,k} $$
Can you please help me to find how many terms in this example?