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

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: 'a table with a drink some flowers an ashtray and a pizza'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'a man spinning a soccer ball on his finger'. Count the number of verbs in this sentence.
Example Output:
1