IO/Inputs/[DIN]/CountState Registry Key
This specifies whether an input transition from OFF to ON is counted (1) or
if the transition from ON to OFF is counted. The key is set to either 1 or 0
respectively. By default the counters are advanced when the input state
transitions from OFF 0 to ON 1.
HELP Topics: IO/Inputs/[DIN]/Count/Units