Quantity of Numbers Between

You are given a non-negative integer N as an argument. Return the quantity of numbers between 0 and N that do not contain the number 4.

Requirements

Example #1

solve(25)
> 23

*There are 23 numbers between 0 and 25 (inclusive) that do not contain a 4. The numbers 4, 14 and 24 are excluded. *