Update the items.entries_count counter cache without badly screwing up performance