Input: Sentence: 'A man with an orange vest on a bicycle is at an intersection'. Count the number of nouns in this sentence.
Output: 4