Input: Sentence: 'A little girl and boy sitting on a bed'. Count the number of nouns in this sentence.
Output: 3