Input: Sentence: 'Two people on a motorcycle with another motorcycle in background'. Count the number of nouns in this sentence.
Output: 4