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 large amount of bananas grouped together in a line'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A bathroom with a large hole in the ceiling, a toilet and tub'. Count the number of nouns in this sentence.
Example Output:
5