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

Example Input: Sentence: 'A bathroom with a toilet and a counter next to a door'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A plate of food and a glass of liquid'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'An old cracked brick building with a clock'. Count the number of nouns in this sentence.
Example Output:
3