The two switches on the left are the output of a shaft encoder. As the shaft moves in one direction a switch operates followed by the other one, the first switch then restores followed by the other one. If you choose the top switch to be the first to operate the counter will increment, operating the lower one first will cause the counter to decrement.