Input: Sentence: 'A close up picture of a green plant with leaves'. Count the number of nouns in this sentence.
Output: 3