Input: Sentence: 'A man in yellow jacket on street next to a car'. Count the number of nouns in this sentence.
Output: 4