Implemented getOccurrences for 'constructor' keywords.