Input: Sentence: 'A rear mirror of a city bus in the back of the car'. Count the number of nouns in this sentence.
Output: 5