Input: Sentence: 'There is a fire truck pulling in to traffic'. Count the number of nouns in this sentence.
Output: 3