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

Example Input: Sentence: 'some street signs sitting by a tree'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A prom date is posing for a picture while the guy looks at the girl'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'A man in green feeding an elephant a bottle'. Count the number of nouns in this sentence.
Example Output:
3