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

Ex Input:
Sentence: 'A small boat that is pulling a larger boat'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'large clock mounted to a living room wall'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'a boy doing a trick on a rail with his skate board'. Count the number of verbs in this sentence.

Ex Output:

1