Input: Sentence: 'This man is holding his hand over the other man's hand while they are looking at something'. Count the number of nouns in this sentence.
Output: 4