Here goes the answer to your question.
Imagine we have {1,1,2,3,4} as shown in the lecture. In the very last step, we multiply by 5!/2! because two 1s are indistinguishable. Your logic is correct!
Ask any other question, when you are taking lectures. Yay!