2

$${\sum_j n_j = N}$$