pass
pass
pass
fail
pass
pass
fail
pass

days without incident is 1.
What is a simple way to write the code for it?