Again, we're assuming 4 clean keys.
If you could repeat digits, that would increase the number quite a bit...4x4x4x4=256 possible combinations.
But since the scenario describes 4 clean keys, we're back to 24 because repeating numbers would leave fewer than 4 clean keys.