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

On to step 1:
2 divided by 9 is 0 with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Take the next digit (6) from the dividend and append it to 2, then repeat: 26 / 9

Going ahead to step 2:
9 can be fit into 26 2 times, resulting in a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 18 from 26 to get 8.
Bring next digit (4) of the dividend behind the 8 and repeat the process: 84 / 9

Moving on to step 3:
84 divided by 9 is 9 with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 29.0
Subtracting 81 from 84 leaves us with 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 9

Step 4:
The number 9 fits into 33 3 times, leaving a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 293.0
Deduct 27 from 33 and we're left with 6.
Take the next digit (8) from the dividend and append it to 6, then repeat: 68 / 9

Advancing to step 5:
The number 9 fits into 68 7 times, leaving a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 2937.0
Subtract 63 from 68 to get 5.
Take the next digit (5) from the dividend and append it to 5, then repeat: 55 / 9

On to step 6:
9 can be fit into 55 6 times, resulting in a remainder of 1.
The next digit of our result is 6. 
Result so far: 29376.0
The remainder is 1 after subtracting 54 from 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
9 goes into 10 1 times with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 29376.1
Deduct 9 from 10 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 8:
The number 9 fits into 10 1 times, leaving a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 29376.11
Subtracting 9 from 10 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The final result is 29376.11 with a remainder of 0.001.