With a Johnson counter, the inverted output of the last flip-flop is connected to the input of the first flip-flops...
Take a look at the circuit diagram. The shown Johnson counter consists again of four D flip-flops. With Reset you set the counter to (0000). Thereafter, the Johnson counter at each clock signal passes through eight states (mod-8 counter)...
Now you continue with applications of counters...