Answer:
There is a slight problem with this question
Do numbers starting with "0" count as a digit position
I would say no, thus the answer is 4...
if you are allowed to use 0 then the answer is 8
in other words if the question was using only 4's and 1's then the answer would be 8
Explanation:
000
004
040
044
400
404
440
444