We look at the division of 164974 by 90 
The aim is to understand the frequency of 90 in 164974.

Advancing to step 1:
If we divide 1 by 90, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 90

Step 2:
90 can be fit into 16 0 times, resulting in a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Append the next digit (4) from the dividend to 16 and continue with: 164 / 90

Advancing to step 3:
90 can be fit into 164 1 times, resulting in a remainder of 74.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 90 from 164, we get 74.
Fetch the next digit (9) from the dividend, attach it to 74 and continue: 749 / 90

Going ahead to step 4:
If we divide 749 by 90, we get 8 and a remainder of 29.
Use 8 as the next digit of our solution. 
Result so far: 18.0
If we subtract 720 from 749, we get 29.
Bring next digit (7) of the dividend behind the 29 and repeat the process: 297 / 90

Let's proceed to step 5:
The number 90 fits into 297 3 times, leaving a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 183.0
The remainder is 27 after subtracting 270 from 297.
Bring next digit (4) of the dividend behind the 27 and repeat the process: 274 / 90

Step 6:
When dividing 274 by 90, we get 3 with a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 1833.0
Subtract 270 from 274 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 7:
If we divide 40 by 90, we get 0 and a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 1833.0
If we take 0 away from 40, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 8:
90 goes into 400 4 times with a remainder of 40.
Write down 4 as next digit of the result. 
Result so far: 1833.04
Subtracting 360 from 400 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 9:
90 can be fit into 400 4 times, resulting in a remainder of 40.
The number 4 becomes the next digit in our result. 
Result so far: 1833.044
The remainder is 40 after subtracting 360 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The final result is 1833.044 with a remainder of 0.004.