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

Input: Consider Input: Sentence: 'A German shepherd laying in front of a door'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'woman in a bikini surfing on a yellow surfboard'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'Two people walking down a trail, one carrying an umbrella'. Count the number of nouns in this sentence.


Output: 3