Let's divide 318675 by 9
The aim is to understand the frequency of 9 in 318675.

On to step 1:
If we divide 3 by 9, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 9

Step 2:
The number 9 fits into 31 3 times, leaving a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 27 from 31 to get 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 9

Moving on to step 3:
9 can be fit into 48 5 times, resulting in a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 35.0
The remainder is 3 after subtracting 45 from 48.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 9

Moving on to step 4:
The number 9 fits into 36 4 times, leaving a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 354.0
If we subtract 36 from 36, we get 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 9

Going ahead to step 5:
7 divided by 9 is 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 3540.0
Subtract 0 from 7 to get 7.
Append the next digit (5) from the dividend to 7 and continue with: 75 / 9

Advancing to step 6:
9 goes into 75 8 times with a remainder of 3.
The number 8 becomes the next digit in our result. 
Result so far: 35408.0
Deduct 72 from 75 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
If we divide 30 by 9, we get 3 and a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 35408.3
The remainder is 3 after subtracting 27 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 8:
The number 9 fits into 30 3 times, leaving a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 35408.33
If we take 27 away from 30, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

The final outcome is 35408.33, with a leftover of 0.003.