Whole onions typically last for up to six weeks if stored on the counter