Input: Sentence: 'A man and two women dance and pose at a party'. Count the number of nouns in this sentence.
Output: 3