counts sentences in text containing both given words