Grocery stores are getting customers to shop longer