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

Advancing to step 1:
When dividing 4 by 9, we get 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 9

Going ahead to step 2:
47 divided by 9 is 5 with a remainder of 2.
The next digit of our result is 5. 
Result so far: 5.0
Subtract 45 from 47 to get 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 9

Let's proceed to step 3:
If we divide 27 by 9, we get 3 and a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 53.0
Subtract 27 from 27 to get 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 9

Moving on to step 4:
8 divided by 9 is 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 530.0
Subtract 0 from 8 to get 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 9

Let's proceed to step 5:
9 can be fit into 84 9 times, resulting in a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 5309.0
Deduct 81 from 84 and we're left with 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 9

Let's proceed to step 6:
9 can be fit into 37 4 times, resulting in a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 53094.0
If we take 36 away from 37, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
When dividing 10 by 9, we get 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 53094.1
Subtracting 9 from 10 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 8:
9 can be fit into 10 1 times, resulting in a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 53094.11
Subtract 9 from 10 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The final outcome is 53094.11, with a leftover of 0.001.