Input: Sentence: 'A neglected skate park has weeds and empty benches'. Count the number of nouns in this sentence.
Output: 4