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

Ex Input:
Sentence: 'A person is walking down the beach holding a surfboard'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A man riding his surfboard through the waves'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'a bath room with a toilet a window and a bath tub'. Count the number of verbs in this sentence.

Ex Output:

0