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

Ex Input:
Sentence: 'A bird with a long beak wades in algae-covered water'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'Man poses for picture with his dog while sitting on a bench'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A white bath tub sitting next to a window'. Count the number of verbs in this sentence.

Ex Output:

1