count-pattern (npm): This package is used for count given pattern in the given text. Works like a regexp search.
Keywords: count text|count patterns|count pattern in text|occurrence|match