Input: Sentence: 'Two men sitting on a couch with their neck ties tied together'. Count the number of nouns in this sentence.
Output: 4