The multinomial coefficient
counts the number of ways to put n distinct objects in N boxes, with

in the first box,

in the second box, etc. See
Multinomial theorem - Wikipedia, the free encyclopedia.
For a derivation, consider all

permutations of the n objects and consider the first

to be in the first box, the next

to be in the second box, etc. The order of the objects in the boxes is considered irrelevant, however, so divide by

to compensate for over-counting in box 1, divide by

to compensate for over-counting in box 2, ...
It's just like the binomial coefficient, only generalized to N choices instead of 2.