Input: Sentence: 'Two women are sitting on a bench outdoors having a conversation'. Count the number of nouns in this sentence.
Output: 3