Support getOccurrences for modifier keywords.

Just putting this out there, haven't added the tests yet.