Input: Sentence: 'A man wearing sun glasses, a tie and a suit'. Count the number of nouns in this sentence.
Output: 5