I dont get it that how the number of ways to place N identical objects in K distinct cells is ? Can you explain it please?
This is not a tutorial service.
You are expected to do your own research.
You should do a web search for such topics: Multi-sets or multi-selections.
Scroll down to find the discussion on multiset coefficients.