Input: Sentence: 'Two people under an umbrella looking at a monument'. Count the number of nouns in this sentence.
Output: 3