Count with incdec

The incdec object is a user interface object with an up arrow and a down arrow. It stores a number, and it also has an internal step size (increment attribute), which is 1 by default. When you click on the up or down arrow, incdec will increase or decrease its internal value by the increment, and send out the number.