class_docstr: Determines the number of words in quotes in a string.
  
  Description:
      Given a list of strings, determine the number of words in quotes
      in each string.
  
      This implementation handles Unicode characters.
  
      If a string is missing, return `NaN`.
  
  Args:
      quote_type (str, optional): Specifies what type of quotation marks to match.
      Argument "single" matches on only single quotes (' ').
      Argument "double" matches words between double quotes (" ").
      Argument "both" matches words between either type of quotes.
      Defaults to "both".
  
  Examples:
       >>> x = ['"python" java prolog "Diffie-Hellman" "4.99"', "Reach me at 'user@email.com'", "'Here's an interesting example!'"]
      >>> number_of_words_in_quotes = NumberOfWordsInQuotes()
      >>> number_of_words_in_quotes(x).tolist()
      [3, 1, 4]
class_docstr_tok: ["Determines","the","number","of","words","in","quotes","in","a","string",".","Description",":","Given","a","list","of","strings",",","determine","the","number","of","words","in","quotes","in","each","string",".","This","implementation","handles","Unicode","characters",".","If","a","string","is","missing",",","return","`","NaN","`",".","Args",":","quote_type","(","str",",","optional",")",":","Specifies","what","type","of","quotation","marks","to","match",".","Argument","``","single","''","matches","on","only","single","quotes","(","'","'",")",".","Argument","``","double","''","matches","words","between","double","quotes","(","``","``",")",".","Argument","``","both","''","matches","words","between","either","type","of","quotes",".","Defaults","to","``","both","''",".","Examples",":",">",">",">","x","=","[","'","''","python","''","java","prolog","``","Diffie-Hellman","''","``","4.99","''","'",",","``","Reach","me","at","'user","@","email.com","'","''",",","``","'Here","'s","an","interesting","example","!","'","''","]",">",">",">","number_of_words_in_quotes","=","NumberOfWordsInQuotes","(",")",">",">",">","number_of_words_in_quotes","(","x",")",".tolist","(",")","[","3",",","1",",","4","]"]
code: def get_function(self):
      def count_words_in_quotes(text):
          if pd.isnull(text):
              return pd.NA
          matches = re.findall(self.regex, text, re.DOTALL)
          count = 0
          for match in matches:
              matched_phrase = match[0]
              words = re.split(f"{DELIMITERS}", matched_phrase)
              for word in words:
                  if len(word.strip(punctuation + " ")):
                      count += 1
          return count
  
      def num_words_in_quotes(array):
          return array.apply(count_words_in_quotes).astype("Int64")
  
      return num_words_in_quotes
  
file_path: featuretools/featuretools/primitives/standard/transform/natural_language/number_of_words_in_quotes.py
imports: import re
  from string import punctuation
  import pandas
  from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import IntegerNullable, NaturalLanguage
  from featuretools.primitives.base import TransformPrimitive
  from featuretools.primitives.standard.transform.natural_language.constants import DELIMITERS
label_desc: Use image node_id 2 for calling the NumberOfWordsInQuotes obj's underlying member method code with example usage: obj.get_function() and returns: num_words_in_quotes, count, array, pd