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

On to step 1:
The number 9 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 9

Advancing to step 2:
The number 9 fits into 22 2 times, leaving a remainder of 4.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 18 from 22 leaves us with 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 9

Advancing to step 3:
If we divide 42 by 9, we get 4 and a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
Subtracting 36 from 42 leaves us with 6.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 9

Going ahead to step 4:
When dividing 65 by 9, we get 7 with a remainder of 2.
The next digit of our result is 7. 
Result so far: 247.0
Subtracting 63 from 65 leaves us with 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 9

Step 5:
If we divide 20 by 9, we get 2 and a remainder of 2.
The next digit of our result is 2. 
Result so far: 2472.0
If we subtract 18 from 20, we get 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 9

Step 6:
If we divide 27 by 9, we get 3 and a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 24723.0
The remainder is 0 after subtracting 27 from 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 7:
When dividing 0 by 9, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 24723.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
If we divide 0 by 9, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 24723.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 24723.0 with a remainder of 0.0.