i would like to get a new variable "lastocc" with the values 1 and 2. the variable "lastocc" should show for each word if its last occurrence was shown a