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

Ex Input:
Sentence: 'Two men are standing near a propped up surfboard'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'Two orange cats playing and fighting on a couch'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A traffic signal suspended over a street at night'. Count the number of nouns in this sentence.

Ex Output:

4