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

On to step 1:
9 can be fit into 8 0 times, resulting in a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Grab the next digit (6) from the dividend, add it to 8, then carry on: 86 / 9

Moving on to step 2:
9 can be fit into 86 9 times, resulting in a remainder of 5.
Put 9 as the next digit of the answer. 
Result so far: 9.0
If we take 81 away from 86, we end up with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 9

On to step 3:
If we divide 58 by 9, we get 6 and a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 96.0
If we take 54 away from 58, we end up with 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 9

Advancing to step 4:
9 goes into 41 4 times with a remainder of 5.
The number 4 becomes the next digit in our result. 
Result so far: 964.0
Deduct 36 from 41 and we're left with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 9

Let's proceed to step 5:
54 divided by 9 is 6 with a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 9646.0
Deduct 54 from 54 and we're left with 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 9

Let's proceed to step 6:
9 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 96460.0
If we subtract 0 from 0, we 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.

Step 7:
The number 9 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 96460.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.

Step 8:
If we divide 0 by 9, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 96460.0
If we take 0 away from 0, we end up 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.

After the division, we end up with 96460.0 and a remainder of 0.0.