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

Example Input: Sentence: 'A person jumps above a body of water'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A person surfing under a wave in the ocean'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'two cows in a grass field together behind a fence'. Count the number of nouns in this sentence.
Example Output:
4