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

Example Input: Sentence: 'Many bicyclists wearing helmets race down the street'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'There is a man walking towards the waves'. Count the number of nouns in this sentence.
Example Output: 2

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