Get occurrences for loops with 'break'/'continue' statements

conditoin is too complex.  break it up.