Input: Sentence: 'a couple of elephants walking in the wild'. Count the number of nouns in this sentence.
Output: 3