$10101011= 171$
$00111010 = 58$
$8$-bit up counter means it is mod$256$ counter, we are at $171$ clock pulse , clock pulses we need to reach initial state is $256-171=85$ clock pulses , we need $58$ more clock pulses to reach $00111010$
$85+58 = 143$