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

Example Input: Sentence: 'A bathroom with a toilet and a counter next to a door'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'Street signs with a cartoon policeman in Shanghai'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A man holds a long baton as he skateboards'. Count the number of verbs in this sentence.
Example Output:
2