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

Ex Input:
Sentence: 'Two cows that are standing in the grass'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'Tail end of an airplane waiting on the tarmac'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A table holding a basket with a hotdog, chips and a drink'. Count the number of nouns in this sentence.

Ex Output:

5