Input: Sentence: 'A group of people walking down a small road under a large white tree'. Count the number of nouns in this sentence.
Output: 4