We're dividing 1223 by 9 
The aim is to understand the frequency of 9 in 1223.

Moving on to step 1:
The number 9 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 9

Advancing to step 2:
9 can be fit into 12 1 times, resulting in a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 9 away from 12, we end up with 3.
Include the next digit (2) from the dividend after 3, then repeat: 32 / 9

Step 3:
The number 9 fits into 32 3 times, leaving a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 13.0
Deduct 27 from 32 and we're left with 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 9

Moving on to step 4:
53 divided by 9 is 5 with a remainder of 8.
Write down 5 as next digit of the result. 
Result so far: 135.0
If we subtract 45 from 53, we get 8.
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 5:
If we divide 80 by 9, we get 8 and a remainder of 8.
The next digit of our result is 8. 
Result so far: 135.8
If we subtract 72 from 80, we get 8.
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 6:
9 can be fit into 80 8 times, resulting in a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 135.88
Subtract 72 from 80 to get 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 final result is 135.88 with a remainder of 0.008.