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

Example Input: Sentence: 'a man with a white surfboard riding a small wave'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'MAN AND WOMAN IN WINERY WITH BOTTLES OF WINE AND GLASSES'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A person kneeling down next to a  white horse'. Count the number of nouns in this sentence.
Example Output:
2