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

Input: Consider Input: Sentence: 'A large cat sitting on top of a table'. Count the number of verbs in this sentence.

Output: 1

Input: Consider Input: Sentence: 'An open refrigerator in a home in disrepair'. Count the number of nouns in this sentence.

Output: 3

Input: Consider Input: Sentence: 'Two dogs are sitting in the bed of a truck'. Count the number of nouns in this sentence.
Output: 3