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

Example Input: Sentence: 'A dog sits on a bed next to a cellphone and a pen'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'The bowl is full of broccoli and some kind of meat'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A vase of flowers next to a ceramic tomato'. Count the number of nouns in this sentence.
Example Output:
3