We look at the division of 317604 by 9 
The aim is to understand the frequency of 9 in 317604.

Step 1:
3 divided by 9 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 9

Going ahead to step 2:
When dividing 31 by 9, we get 3 with a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 27 from 31 leaves us with 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 9

Advancing to step 3:
9 can be fit into 47 5 times, resulting in a remainder of 2.
Record the quotient 5 as the next digit in the result. 
Result so far: 35.0
Deduct 45 from 47 and we're left with 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 9

Step 4:
When dividing 26 by 9, we get 2 with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 352.0
The remainder is 8 after subtracting 18 from 26.
Bring next digit (0) of the dividend behind the 8 and repeat the process: 80 / 9

Let's proceed to step 5:
9 can be fit into 80 8 times, resulting in a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 3528.0
If we subtract 72 from 80, we get 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 9

Going ahead to step 6:
If we divide 84 by 9, we get 9 and a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 35289.0
Deduct 81 from 84 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: 35289.3
Deduct 27 from 30 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 8:
If we divide 30 by 9, we get 3 and a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 35289.33
Subtract 27 from 30 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Our division results in 35289.33 with a remaining 0.003.