Input: Sentence: 'A farm with a large plot of empty green grass covered land next to it'. Count the number of nouns in this sentence.
Output: 4