isNaN will not increase counter