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

Example Input: Sentence: 'A mp3 player sitting on top of a speaker system'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'A wooden bench in front of some trees'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A  paper plate with a sandwich and sauce on it'. Count the number of nouns in this sentence.
Example Output:
4