We're dividing 587959 by 9 
The aim is to understand the frequency of 9 in 587959.

Moving on to step 1:
When dividing 5 by 9, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 9

Let's proceed to step 2:
9 goes into 58 6 times with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
The remainder is 4 after subtracting 54 from 58.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 9

Moving on to step 3:
9 goes into 47 5 times with a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 65.0
The remainder is 2 after subtracting 45 from 47.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 9

Moving on to step 4:
When dividing 29 by 9, we get 3 with a remainder of 2.
The next digit of our result is 3. 
Result so far: 653.0
Subtracting 27 from 29 leaves us with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 9

Step 5:
When dividing 25 by 9, we get 2 with a remainder of 7.
The number 2 becomes the next digit in our result. 
Result so far: 6532.0
Subtracting 18 from 25 leaves us with 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 9

Going ahead to step 6:
79 divided by 9 is 8 with a remainder of 7.
Use 8 as the next digit of our solution. 
Result so far: 65328.0
The remainder is 7 after subtracting 72 from 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 7:
70 divided by 9 is 7 with a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 65328.7
If we subtract 63 from 70, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 8:
70 divided by 9 is 7 with a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 65328.77
If we subtract 63 from 70, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The final outcome is 65328.77, with a leftover of 0.007.