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

Example Input: Sentence: 'Several zebras and other animals grazing in a field'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'Two people on a motorcycle with another motorcycle in background'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A toilet sitting outside with plants on the top of the toilet'. Count the number of verbs in this sentence.
Example Output:
1