Generates unigram count for each file