That really depends on how long you’re awake for, and what you’re doing, exactly.
If you’re only awake for a couple of seconds, I’d expect over a year with decent AAs. If you can alter your code so you only bring up wifi (eg) once per hour, but still read sensors every 10 mins and buffer them, then you can get multiple years.