Grocery price inflation rose again in October but households shrugged off increases with a four-year high in supermarket shopping trips, figures show.