Input: Sentence: 'a group of people sit on top of a grassy hill'. Count the number of nouns in this sentence.
Output: 4