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

Example Input: Sentence: 'a long tower on top of a white building'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'Two people riding a surfboard in the open waves'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'Different types of food that is sitting on a plate'. Count the number of nouns in this sentence.
Example Output:
3