Input: Sentence: 'Some people are on a boat in the water with a bike'. Count the number of nouns in this sentence.
Output: 4