Count specific 2 words in many documents
I would like to ask for help with the following problem. I have a lot of txt documents and I need to count the number of occurences of specific words in these documents. That is, in every document how many times there is word1 and word2. For instance document1: word1 = 2 times, word2 = 7 times. I am capable of counting one word, but I need two.
I tokenize words, transform cases, filter tokens - and "filter tokens" operator seems to accept only one string.