We look at the division of 158746 by 89 
The aim is to understand the frequency of 89 in 158746.

On to step 1:
1 divided by 89 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 89

Advancing to step 2:
The number 89 fits into 15 0 times, leaving a remainder of 15.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 15 leaves us with 15.
Fetch the next digit (8) from the dividend, attach it to 15 and continue: 158 / 89

Going ahead to step 3:
89 can be fit into 158 1 times, resulting in a remainder of 69.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 89 away from 158, we end up with 69.
Append the next digit (7) from the dividend to 69 and continue with: 697 / 89

Advancing to step 4:
697 divided by 89 is 7 with a remainder of 74.
The next digit of our result is 7. 
Result so far: 17.0
If we subtract 623 from 697, we get 74.
Grab the next digit (4) from the dividend, add it to 74, then carry on: 744 / 89

On to step 5:
89 can be fit into 744 8 times, resulting in a remainder of 32.
Use 8 as the next digit of our solution. 
Result so far: 178.0
If we subtract 712 from 744, we get 32.
Grab the next digit (6) from the dividend, add it to 32, then carry on: 326 / 89

Step 6:
The number 89 fits into 326 3 times, leaving a remainder of 59.
Put 3 as the next digit of the answer. 
Result so far: 1783.0
Deduct 267 from 326 and we're left with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Going ahead to step 7:
89 goes into 590 6 times with a remainder of 56.
Write down 6 as next digit of the result. 
Result so far: 1783.6
Subtract 534 from 590 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 8:
560 divided by 89 is 6 with a remainder of 26.
Record the quotient 6 as the next digit in the result. 
Result so far: 1783.66
Deduct 534 from 560 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final outcome is 1783.66, with a leftover of 0.026.