Complete Question:
There are $m$ bags which are numbered by $m$ consecutive positive integers starting with the number $k$. Each bag contains as many different flowers as the number labeled against the bag. A boy has to pick up k flowers from any one of the bags. In how many different ways he can do the work?
My Try
The bags are numbered $k,k+1,k+2,k+3,...,k+(m-1)$
This gives the total number of flowers as $${k+(k+1)+(k+2)+...+(k+(m-1))}=mk+ \dfrac{m(m-1)}{2}$$
I am having confusion in calculating the total number of objects and no. of objects to be chosen out of those.
I have tried by choosing the bag in $^mC_1$ ways and total ways of choosing $k$ objects out of those is by $${^kC_k\ +\ ^{k+1}C_k\ +\ ^{k+2}C_k\ +\cdots +\ ^{k+(m-1)}C_k}\ \text{ways}$$
which gives the complete ways as $$^mC_1\ \times\ \{^kC_k\ +\ ^{k+1}C_k\ +\ ^{k+2}C_k\ +\cdots +\ ^{k+(m-1)}C_k\}$$
I am not confident if the solution upto this point is correct and if it is then how can I simplify it further?