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

Input: Consider Input: Sentence: 'There is woman texting on a phone holding a tennis racket'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A person sitting on a couch with a laptop'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'Two bears face forward, one standing on two legs while the other walks on four'. Count the number of nouns in this sentence.


Output: 2