Input: Sentence: 'Two men holding cups walk by a long row of empty tables'. Count the number of nouns in this sentence.
Output: 4