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

Example Input: Sentence: 'A bunch of planes flying close with trails of smoke'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'Motorcycles are parked alongside the circle driveway on a sunny day'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A black and white picture of a tv beside a window with a view of the city'. Count the number of nouns in this sentence.
Example Output:
5