If you did want to keep the ‘never used’ string, you should be able to if you cast the integer result ‘as string’ also
if exists application usage summary "bzad.exe" then ((last time seen of it - now) / day * -1) of instances of application usage summaries "bzad.exe" as string else "never used"