Boxes in machines and counters