class_docstr: Calculates the number of upper case letters in text.
  
  Description:
      Given a list of strings, determine the number of characters in each string
      that are capitalized. Counts every letter individually, not just every
      word that contains capitalized letters.
  
      If a string is missing, return `NaN`
  
  Examples:
      >>> x = ['This IS a string.', 'This is a string', 'aaa']
      >>> upper_case_count = UpperCaseCount()
      >>> upper_case_count(x).tolist()
      [3.0, 1.0, 0.0]
class_docstr_tok: ["Calculates","the","number","of","upper","case","letters","in","text",".","Description",":","Given","a","list","of","strings",",","determine","the","number","of","characters","in","each","string","that","are","capitalized",".","Counts","every","letter","individually",",","not","just","every","word","that","contains","capitalized","letters",".","If","a","string","is","missing",",","return","`","NaN","`","Examples",":",">",">",">","x","=","[","'This","IS","a","string",".","'",",","'This","is","a","string","'",",","'aaa","'","]",">",">",">","upper_case_count","=","UpperCaseCount","(",")",">",">",">","upper_case_count","(","x",")",".tolist","(",")","[","3.0",",","1.0",",","0.0","]"]
code: def __init__(self):
      pattern = r"([A-Z])"
      super().__init__(string=pattern, is_regex=True, ignore_case=False)
  
imports: from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import IntegerNullable, NaturalLanguage
  from featuretools.primitives.standard.transform.natural_language.count_string import CountString
label_desc: Use image node_id 1 to create a new UpperCaseCount object from inherited base classes: CountString with example: obj = UpperCaseCount()