Get occurrences for return keywords.

shouldn't this call isAnyFunction?