Input: Sentence: 'A man in a suit is cutting a yellow ribbon as bicyclists look on'. Count the number of nouns in this sentence.
Output: 4