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

Ex Input:
Sentence: 'OLD BLACK AND WHITE PHOTO OF HORSE AND BUGGY IN BUSY TOWN'. Count the number of nouns in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'There is a man walking towards the waves'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A sheep looks on at other sheep standing in a field'. Count the number of verbs in this sentence.

Ex Output:

2