With CCD automatic optical counting and packaging machines specified quantities are placed into bags and labeled.