Input: Sentence: 'A tall clock in a beautiful park setting'. Count the number of nouns in this sentence.
Output: 3