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

Example Input: Sentence: 'Two cows that are standing in the grass'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'A yellow fire hydrant sitting at the top of a green hill'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A man is using a cell phone to photograph a barn'. Count the number of verbs in this sentence.
Example Output:
2