How many four digit numbers use the digit 7 two or more times?