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

Example Input: Sentence: 'There is a line of blue umbrellas on a beach'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'a bathroom with a large mirror with colorful rim'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'An aerial view of a boat approaching a coastline'. Count the number of nouns in this sentence.
Example Output:
3