We look at the division of 673004 by 8 
The aim is to understand the frequency of 8 in 673004.

Going ahead to step 1:
6 divided by 8 is 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Bring next digit (7) of the dividend behind the 6 and repeat the process: 67 / 8

Let's proceed to step 2:
8 can be fit into 67 8 times, resulting in a remainder of 3.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtract 64 from 67 to get 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 8

Moving on to step 3:
8 can be fit into 33 4 times, resulting in a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 84.0
Subtracting 32 from 33 leaves us with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 8

Advancing to step 4:
8 goes into 10 1 times with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 841.0
If we take 8 away from 10, we end up with 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 8

Moving on to step 5:
8 goes into 20 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 8412.0
Deduct 16 from 20 and we're left with 4.
Append the next digit (4) from the dividend to 4 and continue with: 44 / 8

Going ahead to step 6:
If we divide 44 by 8, we get 5 and a remainder of 4.
The next digit of our result is 5. 
Result so far: 84125.0
The remainder is 4 after subtracting 40 from 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
If we divide 40 by 8, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 84125.5
Subtracting 40 from 40 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 8, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 84125.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
8 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 84125.5
Deduct 0 from 0 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.

The final outcome is 84125.5, with a leftover of 0.0.