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

Step 1:
9 can be fit into 7 0 times, resulting in a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 9

Step 2:
If we divide 78 by 9, we get 8 and a remainder of 6.
The next digit of our result is 8. 
Result so far: 8.0
Subtracting 72 from 78 leaves us with 6.
Take the next digit (8) from the dividend and append it to 6, then repeat: 68 / 9

Let's proceed to step 3:
68 divided by 9 is 7 with a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 87.0
The remainder is 5 after subtracting 63 from 68.
Append the next digit (5) from the dividend to 5 and continue with: 55 / 9

Going ahead to step 4:
When dividing 55 by 9, we get 6 with a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 876.0
Subtracting 54 from 55 leaves us with 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 9

Moving on to step 5:
If we divide 14 by 9, we get 1 and a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 8761.0
Deduct 9 from 14 and we're left with 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 9

On to step 6:
9 goes into 56 6 times with a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 87616.0
Subtracting 54 from 56 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

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

Moving on to step 8:
When dividing 20 by 9, we get 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 87616.22
Deduct 18 from 20 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 87616.22 and a remainder of 0.002.