The outputs Q2,Q1,Q0 (MSB -> LSB) are in red, orange, green. The clock input can be seen in blue. The circuit will do a 3-bit counting in gray code. The logic input on the top left can be used to change the counting direction. 1 means counting up, 0 means counting down.