Input: Sentence: 'a couple of sheep walk on some grass'. Count the number of nouns in this sentence.
Output: 3