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: 'A man sleeping on a wooden bench next to a bag of luggage'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A man taling on a cell phone at an outdoor backyard party'. Count the number of verbs in this sentence.
Example Output:
1