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

Ex Input:
Sentence: 'A man brushing his teeth with a tooth brush'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A plane that is flying over a mountain'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'The pasta dish has several vegetables mixed in it'. Count the number of verbs in this sentence.

Ex Output:

2