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

Example Input: Sentence: 'A beautiful hipster woman standing behind a red eyed teddy bear'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'Three slices of thin pizza next to two bottles of wine'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'a herd of zebras drinking water at a lake'. Count the number of nouns in this sentence.
Example Output:
4