Get occurrences for return keywords.

I would move that to be next to the other forEach* functions