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

Input: Consider Input: Sentence: 'Orange cupcake with Orange is sitting next to it'. Count the number of nouns in this sentence.

Output: 2

Input: Consider Input: Sentence: 'A giraffe standing on the grass plans in Africa'. Count the number of nouns in this sentence.

Output: 3

Input: Consider Input: Sentence: 'a little league plater holding a bat during part of a game'. Count the number of verbs in this sentence.
Output: 1