Input: Sentence: 'acouple of people are sitting near some bags'. Count the number of nouns in this sentence.
Output: 3