Add methods to add, remove, and count parts contained in a PartContainer.