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

On to step 1:
The number 9 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 9

Step 2:
If we divide 12 by 9, we get 1 and a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 9 from 12 leaves us with 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 9

On to step 3:
9 goes into 37 4 times with a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 14.0
If we subtract 36 from 37, we get 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 9

On to step 4:
The number 9 fits into 15 1 times, leaving a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 141.0
If we take 9 away from 15, we end up with 6.
Include the next digit (1) from the dividend after 6, then repeat: 61 / 9

Let's proceed to step 5:
When dividing 61 by 9, we get 6 with a remainder of 7.
Use 6 as the next digit of our solution. 
Result so far: 1416.0
If we subtract 54 from 61, we get 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 9

Going ahead to step 6:
The number 9 fits into 77 8 times, leaving a remainder of 5.
The next digit of our result is 8. 
Result so far: 14168.0
The remainder is 5 after subtracting 72 from 77.
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 7:
When dividing 50 by 9, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 14168.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.

Advancing to step 8:
9 goes into 50 5 times with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 14168.55
Subtract 45 from 50 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The final outcome is 14168.55, with a leftover of 0.005.