Remove refernces to items, replace with count