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

Example Input: Sentence: 'A silver and yellow engine is followed by several train cars'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'a cat siting next to a chair on a porch'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A couple of boats that are sitting in the water'. Count the number of verbs in this sentence.
Example Output:
1