Input: Sentence: 'Double decker buses are pulling up to the curb'. Count the number of nouns in this sentence.
Output: 3