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

Ex Input:
Sentence: 'A kitchen containing beige and wood cabinets and a white oven'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'Children play in the water from a fire hydrant in an urban setting'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'a cut in half sandwich sitting on top of a white plate'. Count the number of verbs in this sentence.

Ex Output:
1