automodel.ending_model — last model to build

This determines the number of the last model to build; see automodel.starting_model.