Input: Sentence: 'Two little girls posing for a picture, with a pink teddy bear'. Count the number of nouns in this sentence.
Output: 4