Input: Sentence: 'A man on a scooter sits beside a stop sign'. Count the number of nouns in this sentence.
Output: 3