Returns the number of permutations for a given number of objects