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

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

Example Input: Sentence: 'A boat with emergency lights on it sitting in a harbor'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'An adult giraffe and a baby giraffe in an enclosed field'. Count the number of nouns in this sentence.
Example Output:
5