Input: Sentence: 'A double decker bus with the upper deck open moving down the street'. Count the number of nouns in this sentence.
Output: 4