Input: Sentence: 'A greyhound bus travels the streets in a city'. Count the number of nouns in this sentence.
Output: 4