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

Example Input: Sentence: 'Zebra standing in field of tall grasses and trees grazing'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A person talking a photo of a bathroom containing a sink and a toilet'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'A man in plaid shawl walking with a black horse'. Count the number of verbs in this sentence.
Example Output:
1