In this task, you need to count the number of nouns/verbs in the given sentence.

Ex Input:
Sentence: 'Group of pilots displaying protest messages behind fenced area'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'A family walking towards a very small airplane'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'A man and his son are standing next to an open fire hydrant'. Count the number of verbs in this sentence.

Ex Output:
1