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

Example Input: Sentence: 'there are five people on surf boards in the ocean'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A small kitchen counter with appliances and a shelf'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'Several guys playing the Wii and holding the controllers'. Count the number of nouns in this sentence.
Example Output:
2