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

Example Input: Sentence: 'a window is next to a toilet in a bathroom'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A street sign of some sort in the middle of some road'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'Person surfing in the distance on rolling waves'. Count the number of verbs in this sentence.
Example Output:
1