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

Example Input: Sentence: 'One person tossing a frisbee to another person in front of some trees'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'A man playing  a game of tennis hitting a ball'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'A sandwich cut in half on a tray on a table'. Count the number of nouns in this sentence.
Example Output:
4