Measuring Counter for Advance Pasting Machines