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

Ex Input:
Sentence: 'Two people shaving letters on the side of a goat'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'Two people standing next to a huge wall looking at their cell phones'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'A man and four boys posing on a tennis court'. Count the number of verbs in this sentence.

Ex Output:
1