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

Probably shouldn't need the `owner` check. It should never be undefined, just make sure you don't call this on a source file.