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

Advancing to step 1:
The number 9 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (7) from the dividend, attach it to 5 and continue: 57 / 9

Advancing to step 2:
The number 9 fits into 57 6 times, leaving a remainder of 3.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
The remainder is 3 after subtracting 54 from 57.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 9

Moving on to step 3:
When dividing 38 by 9, we get 4 with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 64.0
Subtract 36 from 38 to get 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 9

On to step 4:
When dividing 24 by 9, we get 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 642.0
The remainder is 6 after subtracting 18 from 24.
Append the next digit (8) from the dividend to 6 and continue with: 68 / 9

Step 5:
The number 9 fits into 68 7 times, leaving a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 6427.0
If we take 63 away from 68, we end up with 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 9

Let's proceed to step 6:
The number 9 fits into 59 6 times, leaving a remainder of 5.
The next digit of our result is 6. 
Result so far: 64276.0
If we take 54 away from 59, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
9 goes into 50 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 64276.5
Subtract 45 from 50 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 8:
The number 9 fits into 50 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 64276.55
The remainder is 5 after subtracting 45 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The quotient of the division is 64276.55, and the remainder is 0.005.