Input: Sentence: 'A teddy bear sits on top of a pregnant woman's stomach'. Count the number of nouns in this sentence.
Output: 5