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

On to step 1:
9 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 9

Advancing to step 2:
58 divided by 9 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 6.0
Subtracting 54 from 58 leaves us with 4.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 9

Moving on to step 3:
9 can be fit into 48 5 times, resulting in a remainder of 3.
Put 5 as the next digit of the answer. 
Result so far: 65.0
If we take 45 away from 48, we end up with 3.
Grab the next digit (5) from the dividend, add it to 3, then carry on: 35 / 9

On to step 4:
35 divided by 9 is 3 with a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 653.0
If we subtract 27 from 35, we get 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 9

Going ahead to step 5:
87 divided by 9 is 9 with a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 6539.0
If we subtract 81 from 87, we get 6.
Bring next digit (4) of the dividend behind the 6 and repeat the process: 64 / 9

Advancing to step 6:
The number 9 fits into 64 7 times, leaving a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 65397.0
The remainder is 1 after subtracting 63 from 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
If we divide 10 by 9, we get 1 and a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 65397.1
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.

Moving on to step 8:
The number 9 fits into 10 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 65397.11
Deduct 9 from 10 and we're left 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.

In conclusion, the division gives 65397.11 with a balance of 0.001.