Let's divide 140661 by 9
The aim is to understand the frequency of 9 in 140661.

Step 1:
If we divide 1 by 9, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 9

Step 2:
9 can be fit into 14 1 times, resulting in a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 5 after subtracting 9 from 14.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 9

Moving on to step 3:
The number 9 fits into 50 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 15.0
If we subtract 45 from 50, we get 5.
Grab the next digit (6) from the dividend, add it to 5, then carry on: 56 / 9

Moving on to step 4:
The number 9 fits into 56 6 times, leaving a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 156.0
Deduct 54 from 56 and we're left with 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 9

Moving on to step 5:
If we divide 26 by 9, we get 2 and a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 1562.0
Subtracting 18 from 26 leaves us with 8.
Grab the next digit (1) from the dividend, add it to 8, then carry on: 81 / 9

Moving on to step 6:
81 divided by 9 is 9 with a remainder of 0.
The next digit of our result is 9. 
Result so far: 15629.0
Deduct 81 from 81 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.

Let's proceed to step 7:
9 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 15629.0
Subtracting 0 from 0 leaves us 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.

Advancing to step 8:
If we divide 0 by 9, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 15629.0
Subtracting 0 from 0 leaves us 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.

The quotient of the division is 15629.0, and the remainder is 0.0.