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

Ex Input:
Sentence: 'The bathroom has a sink with an Elvis Presley item'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Group of people standing on the deck to watch a group of giraffes'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'Baseball player swinging bat to hit approaching baseball'. Count the number of nouns in this sentence.

Ex Output:

4