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

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: 'Two birds perched on top of a light pole'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A car covered in graffiti parked next to a trailer and an auto repair shop'. Count the number of verbs in this sentence.
Example Output:
2