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

Example Input: Sentence: 'A deep dish pizza sitting on top of a table next to a spatula'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'Group of pilots displaying protest messages behind fenced area'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'a surfer walking in an ocean wave carrying a surf board'. Count the number of nouns in this sentence.
Example Output:
5