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

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 skateboarder doing a trick at a skate park'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A clock tower of a building with the moon rising near it'. Count the number of nouns in this sentence.
Example Output:
4