does it include all apps and programs that come with mac
It will have the standard Mac OS so it should include the standard apps.
You can upgrade the OS to the latest version for free from Apple. And that will include all the apps a new Mac includes.
How many years will we get from this considering its a 2013 model? I am not a Mac guy, just looking to replace my wife’s ~2009 era Macbook.