Input: Sentence: 'Two women and a man are posing with a motorcycle'. Count the number of nouns in this sentence.
Output: 3