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 cardboard sign is stapled onto a tree on a street'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'The man is standing beside the bicycle in a building'. Count the number of nouns in this sentence.

Ex Output:
3