making Occurrences a constant within InvertedIndex