Input: Sentence: 'A couple of small birds next to each other'. Count the number of nouns in this sentence.
Output: 2