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

Example Input: Sentence: 'some people and some different skateboards on display'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'a person eating a hot dog next to other people'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A locomotive pulls a string of railcars down a railroad track at the foot of tree covered hills'. Count the number of verbs in this sentence.
Example Output:
2