Counting food products by the piece is regarded as the most efficient, cost-effective alternative to modern weighing and pick-and-place systems for a wide range of products, as counting accuracy is not affected by small weight variations between individual pieces. Optical counting—as opposed to weight-centric quality control—guarantees that the net contents in terms of count is 100 percent accurate for both wholesale and retail packages. Optical counting also prevents product loss, avoids product wastage, and maximizes production efficiency.