Input: Sentence: 'A man in a white shirt, black tie and black jacket standing near a wall'. Count the number of nouns in this sentence.
Output: 5