We divide 332594 by 9
The aim is to understand the frequency of 9 in 332594.

On to step 1:
3 divided by 9 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 9

Let's proceed to step 2:
If we divide 33 by 9, we get 3 and a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 27 away from 33, we end up with 6.
Fetch the next digit (2) from the dividend, attach it to 6 and continue: 62 / 9

On to step 3:
9 can be fit into 62 6 times, resulting in a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 36.0
Deduct 54 from 62 and we're left with 8.
Append the next digit (5) from the dividend to 8 and continue with: 85 / 9

On to step 4:
If we divide 85 by 9, we get 9 and a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 369.0
Subtract 81 from 85 to get 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 9

Step 5:
49 divided by 9 is 5 with a remainder of 4.
The next digit of our result is 5. 
Result so far: 3695.0
If we subtract 45 from 49, we get 4.
Fetch the next digit (4) from the dividend, attach it to 4 and continue: 44 / 9

Step 6:
44 divided by 9 is 4 with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 36954.0
The remainder is 8 after subtracting 36 from 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 7:
When dividing 80 by 9, we get 8 with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 36954.8
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
The number 9 fits into 80 8 times, leaving a remainder of 8.
The next digit of our result is 8. 
Result so far: 36954.88
Deduct 72 from 80 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 36954.88, and the remainder is 0.008.