The numbers from 1 to 100 which are exactly divisible by
4 are 4, 8, 12, 16, 20,24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100.
But each number should have 4 as its digit.
The required numbers are 4, 24, 40, 44, 48, 64, 84.
Clearly, there are 7 such numbers.