Input: Sentence: 'A man exiting a small blue triple decker bus'. Count the number of nouns in this sentence.
Output: 3