We look at the division of 867664 by 4 
The aim is to understand the frequency of 4 in 867664.

Step 1:
If we divide 8 by 4, we get 2 and a remainder of 0.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 0 after subtracting 8 from 8.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 4

On to step 2:
When dividing 6 by 4, we get 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 21.0
Subtract 4 from 6 to get 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 4

Moving on to step 3:
4 goes into 27 6 times with a remainder of 3.
The next digit of our result is 6. 
Result so far: 216.0
If we subtract 24 from 27, we get 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 4

Let's proceed to step 4:
The number 4 fits into 36 9 times, leaving a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 2169.0
The remainder is 0 after subtracting 36 from 36.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 4

Going ahead to step 5:
4 goes into 6 1 times with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 21691.0
Subtract 4 from 6 to get 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 4

Step 6:
24 divided by 4 is 6 with a remainder of 0.
The next digit of our result is 6. 
Result so far: 216916.0
Subtracting 24 from 24 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 7:
If we divide 0 by 4, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 216916.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 216916.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 216916.0, and the remainder is 0.0.