Input: Sentence: 'A yellow double decker bus with other buses behind it'. Count the number of nouns in this sentence.
Output: 3