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

Example Input: Sentence: 'A building hiding beyond a stop sign and street sign'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'A spray paint covered fire hydrant on a side walk'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'A seagull on a pier with boats in the water in background'. Count the number of nouns in this sentence.
Example Output:
5