Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects