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

Input: Consider Input: Sentence: 'A barge floating down a river towards a city'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A person jumps above a body of water'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A hardcover book containing a hiding place for a remote'. Count the number of nouns in this sentence.


Output: 5