Input: Sentence: 'A scooter riding down the road, next to a building'. Count the number of nouns in this sentence.
Output: 3