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

Example Input: Sentence: 'A guy on a horse on a busy city street'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'The three giraffes are being kept indoors for being to see'. Count the number of verbs in this sentence.
Example Output: 3

Example Input: Sentence: 'A plane parked on a road near a grassy area'. Count the number of verbs in this sentence.
Example Output:
1