Input: Sentence: 'A man sits on a motorcycle with two women around him'. Count the number of nouns in this sentence.
Output: 3