they are asking, how many times ZERO flag was Updated to value 0.
$(23)_8$ = 19 in decimal.
on addition/subtraction, based on the result the ZERO flag is updated to 1 if result is 0, else updated to 0.
JNZ LOOP means, if ZERO flag is 0 then jump to the label LOOP. else continue to the next statement