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

Ex Input:
Sentence: 'There is a person with a frisbee sitting by the water'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'A view of a very modern kitchen. Its a 3d drawing'. Count the number of nouns in this sentence.

Ex Output:
3

Ex Input:
Sentence: 'Black and white photograph of a park bench overlooking water'. Count the number of verbs in this sentence.

Ex Output:
1