you will put just 1 item in the first slot of the hopper then 4 renamed items in the other slots then when the 1. item you threw in gets the amount of 41 it will make the items in the chest (when it reached 41+ like when there are 42 1 is going in the chest)