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

Ex Input:
Sentence: 'A man in a diner holding two baskets of sandwiches'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A elephant that is standing on a floor at a bowling alley'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A refrigerator containing fishing worms sits on a floor'. Count the number of verbs in this sentence.

Ex Output:

2