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

Ex Input:
Sentence: 'a couple of birds that are sitting next to each other'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A person wipes out on their surfboard in the ocean'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Two gentlemen politely discussing something while others look on'. Count the number of verbs in this sentence.

Ex Output:

2