Task: Pos Tagging
Input (English): Sentence: 'A dog is laying on a bed next to pillows'. Count the number of nouns in this sentence.
Output (English): 3