Input: Sentence: 'A bus with a bike rack travelling down a street'. Count the number of nouns in this sentence.
Output: 4