Definition: In this task, you need to count the number of nouns/verbs in the given sentence.
Input: Sentence: 'A yellow vehicle in front of another near a brick building'. Count the number of nouns in this sentence.
Output:
4