Input: Sentence: 'A couple of people on a motorcycle posing for a picture'. Count the number of nouns in this sentence.
Output: 4