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

Example Input: Sentence: 'a street sign is displayed on a nice summer day'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A closeupo of people holding remote controls in their hands'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'Two men sitting on a couch with their neck ties tied together'. Count the number of nouns in this sentence.
Example Output:
4