Input: Sentence: 'A large urn with a flower pot in it near a pathway'. Count the number of nouns in this sentence.
Output: 4