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

Input: Consider Input: Sentence: 'A bathroom with a toilet and a counter next to a door'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A woman on skis coming down a slope'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'a sign altered so it says stop all war'. Count the number of verbs in this sentence.


Output: 3