How to make cointer count up

true, but repeater uses more memory, for a better explanation: