A counter directive for incrementing and decrementing an input field.