We're dividing 866493 by 9 
The aim is to understand the frequency of 9 in 866493.

Going ahead to step 1:
When dividing 8 by 9, we get 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 9

Advancing to step 2:
86 divided by 9 is 9 with a remainder of 5.
The next digit of our result is 9. 
Result so far: 9.0
The remainder is 5 after subtracting 81 from 86.
Bring next digit (6) of the dividend behind the 5 and repeat the process: 56 / 9

Moving on to step 3:
If we divide 56 by 9, we get 6 and a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 96.0
Subtracting 54 from 56 leaves us with 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 9

On to step 4:
If we divide 24 by 9, we get 2 and a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 962.0
The remainder is 6 after subtracting 18 from 24.
Fetch the next digit (9) from the dividend, attach it to 6 and continue: 69 / 9

Step 5:
9 goes into 69 7 times with a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 9627.0
Subtracting 63 from 69 leaves us with 6.
Fetch the next digit (3) from the dividend, attach it to 6 and continue: 63 / 9

Moving on to step 6:
When dividing 63 by 9, we get 7 with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 96277.0
Subtract 63 from 63 to get 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 7:
0 divided by 9 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 96277.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
When dividing 0 by 9, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 96277.0
Subtract 0 from 0 to get 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 final result is 96277.0 with a remainder of 0.0.