Input: Sentence: 'there is a yellow beetle car passing a man on a bike'. Count the number of nouns in this sentence.
Output: 4