Input: Sentence: 'A path leading to a covered area in a park'. Count the number of nouns in this sentence.
Output: 3