The free PowerSave add-on lets you set a specific number of autosave files, it automatically overwrites old autosave: