def count_frequency(word_list):
	"""
        Counts frequency of each word and returns 
        a dictionary which maps the word to their frequency
    """
	D = {}
	
	for new_word in word_list:
		
		if new_word in D:
			D[new_word] = D[new_word] + 1
			
		else:
			D[new_word] = 1
			
	return D