One wire bus problum

Yes the porject works just fime - I have the right pull up reisitor. It is the loop counter that does not seem to b e quite right.