Input: Sentence: 'A motor scooter sitting next to some bicycles outside a restaurant'. Count the number of nouns in this sentence.
Output: 4