We divide 317304 by 9
The aim is to understand the frequency of 9 in 317304.

Step 1:
If we divide 3 by 9, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 9

Going ahead to step 2:
When dividing 31 by 9, we get 3 with a remainder of 4.
The number 3 becomes the next digit in our result. 
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

On to step 3:
9 goes into 47 5 times with a remainder of 2.
The next digit of our result is 5. 
Result so far: 35.0
If we subtract 45 from 47, we get 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 9

Step 4:
If we divide 23 by 9, we get 2 and a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 352.0
If we subtract 18 from 23, we get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 9

Moving on to step 5:
9 can be fit into 50 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 3525.0
If we take 45 away from 50, we end up with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 9

Step 6:
When dividing 54 by 9, we get 6 with a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 35256.0
Deduct 54 from 54 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 7:
9 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 35256.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
9 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 35256.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.

In conclusion, the division gives 35256.0 with a balance of 0.0.