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

Example Input: Sentence: 'some long boats are out on the water'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'Cupcakes part iced part not with a walnut on top'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'A handicap toilet with several rolls of tissue paper'. Count the number of verbs in this sentence.
Example Output:
0