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

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

Ex Output:
4

Ex Input:
Sentence: 'Picture of an outside spot with a transport'. Count the number of nouns in this sentence.

Ex Output:
3

Ex Input:
Sentence: 'A small yellow and brown bird standing in front of a mirror'. Count the number of verbs in this sentence.

Ex Output:
1