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

Example Input: Sentence: 'People are playing in the water in front of some hills'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'some long boats are out on the water'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A woman with her arm elevated in the air playing WII'. Count the number of verbs in this sentence.
Example Output:
2