Input: Sentence: 'A person on a bench in front of water with a bicycle parked next to the bench'. Count the number of nouns in this sentence.
Output: 6