Instructions: In this task, you need to count the number of nouns/verbs in the given sentence.
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