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

Example Input: Sentence: 'row of colored umbrellas next to a body of water'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A man flying through the air while riding skis'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'a man rowing his kayak with his pet dog'. Count the number of nouns in this sentence.
Example Output:
3