Input: Sentence: 'A large fountain sitting in the middle of a park'. Count the number of nouns in this sentence.
Output: 3