To switch the 'Quantity of past orders' on/off, from the store dashboard go to:
> Store Settings > Products > Show/Hide

From within this page, the top tick box labelled, 'Quantity of past orders' will either enable or disable the feature.
(*Don't forget to click 'Save Changes' after making alterations*)