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

Input: Consider Input: Sentence: 'Two boats are docked at the bank of a river'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A tall  giraffe standing alone in a forest'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A piece of chocolate shaped like a Star Wars space ship and another piece of chocolate cake'. Count the number of verbs in this sentence.


Output: 1