The product of all digits of positive integer M is 105. How many such Ms are there with four digits?
This was answered here by MathProblemSolver:
https://web2.0calc.com/questions/counting_135