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

On to step 1:
9 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 9

Going ahead to step 2:
9 can be fit into 58 6 times, resulting in a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
If we subtract 54 from 58, we get 4.
Take the next digit (9) from the dividend and append it to 4, then repeat: 49 / 9

Let's proceed to step 3:
When dividing 49 by 9, we get 5 with a remainder of 4.
The number 5 becomes the next digit in our result. 
Result so far: 65.0
Subtracting 45 from 49 leaves us with 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 9

On to step 4:
The number 9 fits into 48 5 times, leaving a remainder of 3.
Write down 5 as next digit of the result. 
Result so far: 655.0
The remainder is 3 after subtracting 45 from 48.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 9

Let's proceed to step 5:
9 can be fit into 37 4 times, resulting in a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 6554.0
The remainder is 1 after subtracting 36 from 37.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 9

Moving on to step 6:
If we divide 14 by 9, we get 1 and a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 65541.0
Subtracting 9 from 14 leaves us 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.

Moving on to step 7:
9 can be fit into 50 5 times, resulting in a remainder of 5.
The next digit of our result is 5. 
Result so far: 65541.5
Subtracting 45 from 50 leaves us 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.

Let's proceed to step 8:
9 can be fit into 50 5 times, resulting in a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 65541.55
Deduct 45 from 50 and we're left 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.

In conclusion, the division gives 65541.55 with a balance of 0.005.