Input: Sentence: 'This is a close up shot of a mans goatee'. Count the number of nouns in this sentence.
Output: 2