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

On to step 1:
When dividing 8 by 9, we get 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 9

Moving on to step 2:
9 goes into 80 8 times with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtract 72 from 80 to get 8.
Include the next digit (2) from the dividend after 8, then repeat: 82 / 9

Moving on to step 3:
The number 9 fits into 82 9 times, leaving a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 89.0
If we subtract 81 from 82, we get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 9

Moving on to step 4:
9 goes into 12 1 times with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 891.0
Deduct 9 from 12 and we're left with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 9

Advancing to step 5:
9 goes into 37 4 times with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 8914.0
If we subtract 36 from 37, we get 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 9

Moving on to step 6:
14 divided by 9 is 1 with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 89141.0
Subtracting 9 from 14 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.

Going ahead to step 7:
9 goes into 50 5 times with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 89141.5
If we take 45 away from 50, we end up 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:
The number 9 fits into 50 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 89141.55
If we subtract 45 from 50, we 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.

After the division, we end up with 89141.55 and a remainder of 0.005.