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

Example Input: Sentence: 'A steam engine train rumbles down the tracks'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A display of something outside in the snow weather'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A collage of pictures such as a basketball, horse shaped bush, motorcycle, fireworks and book pages'. Count the number of verbs in this sentence.
Example Output:
1