added code to process and count ngrams instead of just stems