Input: Sentence: 'two small kids sitting in a lap of a teddy bear'. Count the number of nouns in this sentence.
Output: 4