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

Ex Input:
Sentence: 'there are five people on surf boards in the ocean'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A cup of black coffee, biscuits, a piece of meat and grits on a table'. Count the number of verbs in this sentence.

Ex Output:
0


Ex Input:
Sentence: 'A baseball player who is walking with a bat'. Count the number of verbs in this sentence.

Ex Output:

1