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 toilet is on the road by a truck'. Count the number of verbs in this sentence.

Ex Output:
0


Ex Input:
Sentence: 'A medicine cabinet that is on a wall in a room'. Count the number of verbs in this sentence.

Ex Output:

1