We look at the division of 470376 by 54 
The aim is to understand the frequency of 54 in 470376.

On to step 1:
If we divide 4 by 54, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 54

Moving on to step 2:
The number 54 fits into 47 0 times, leaving a remainder of 47.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 47, we get 47.
Append the next digit (0) from the dividend to 47 and continue with: 470 / 54

Moving on to step 3:
If we divide 470 by 54, we get 8 and a remainder of 38.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
If we subtract 432 from 470, we get 38.
Append the next digit (3) from the dividend to 38 and continue with: 383 / 54

Moving on to step 4:
54 can be fit into 383 7 times, resulting in a remainder of 5.
Use 7 as the next digit of our solution. 
Result so far: 87.0
The remainder is 5 after subtracting 378 from 383.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 54

On to step 5:
54 can be fit into 57 1 times, resulting in a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 871.0
If we take 54 away from 57, we end up with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 54

On to step 6:
The number 54 fits into 36 0 times, leaving a remainder of 36.
Write down 0 as next digit of the result. 
Result so far: 8710.0
Subtract 0 from 36 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 7:
360 divided by 54 is 6 with a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 8710.6
If we subtract 324 from 360, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 8:
If we divide 360 by 54, we get 6 and a remainder of 36.
Put 6 as the next digit of the answer. 
Result so far: 8710.66
Subtracting 324 from 360 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

The final outcome is 8710.66, with a leftover of 0.036.