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

Example Input: Sentence: 'A small boat that is pulling a larger boat'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'The players are playing a game of Frisbee on the grass'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'a man performs a trick on a skate board as people look on'. Count the number of nouns in this sentence.
Example Output:
5