getOccurrencesAtPosition Implemented