Input: Sentence: 'A stuffed teddy bear lies on the pavement near clothes'. Count the number of nouns in this sentence.
Output: 4