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

Ex Input:
Sentence: 'A sandwich served on a plate with salad'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'a man in a white shirt laying in bed'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Two Hot Dogs with ketchup are on a white plate'. Count the number of nouns in this sentence.

Ex Output:

2