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

Ex Input:
Sentence: 'A kite flying next to a palm tree in a blue sky'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'Elephants in a national park blowing dust around'. Count the number of nouns in this sentence.

Ex Output:
3

Ex Input:
Sentence: 'Two teddy bears posed for a picture together'. Count the number of verbs in this sentence.

Ex Output:
1