Input: Sentence: 'A double decker bus is headed for the next stop'. Count the number of nouns in this sentence.
Output: 3