Added function to create a hash of keywords and their frequency from an array of lists