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

Example Input: Sentence: 'A man standing on a tennis court holding a tennis racquet'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'Two people shaving letters on the side of a goat'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A sign that has arrows pointing in opposite directions, one of the arrows has a dog sticker on it'. Count the number of nouns in this sentence.
Example Output:
6