$$N!\over
{1!}^{n_1}{2!}^{n_2}\ldots{k}!^{n_k}$$