from typing import Counter


def unique_vals(arr, min_num_occurences=1):
	""" 
	Gets unique values from list 
	arr: arr that contains value
	min_num_occurences: these values must occur at least X times
	"""
	counter_vals = Counter(arr)
	unique_words = [w for w, c in counter_vals.items() if c >= min_num_occurences]
	return unique_words