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

Example Input: Sentence: 'An old white building has a sign that says F Street'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A woman standing next to a giant refrigerator freezer'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'The dog is in the kitchen sink and pizza is on the counter'. Count the number of verbs in this sentence.
Example Output:
1