We look at the division of 397632 by 9 
The aim is to understand the frequency of 9 in 397632.

Advancing to step 1:
The number 9 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 9

Let's proceed to step 2:
The number 9 fits into 39 4 times, leaving a remainder of 3.
The next digit of our result is 4. 
Result so far: 4.0
If we take 36 away from 39, we end up with 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 9

Let's proceed to step 3:
9 goes into 37 4 times with a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 44.0
Deduct 36 from 37 and we're left with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 9

Step 4:
9 can be fit into 16 1 times, resulting in a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 441.0
If we subtract 9 from 16, we get 7.
Include the next digit (3) from the dividend after 7, then repeat: 73 / 9

Advancing to step 5:
73 divided by 9 is 8 with a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 4418.0
Deduct 72 from 73 and we're left with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 9

Step 6:
If we divide 12 by 9, we get 1 and a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 44181.0
If we take 9 away from 12, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
The number 9 fits into 30 3 times, leaving a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 44181.3
Subtract 27 from 30 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 8:
If we divide 30 by 9, we get 3 and a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 44181.33
Subtract 27 from 30 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

The final outcome is 44181.33, with a leftover of 0.003.