Instead of clearing all, now only remove items and their total number.