Task: Pos Tagging
Input (English): Sentence: 'A spotted dog cuddled up under large pillows'. Count the number of nouns in this sentence.
Output (English): 2