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

Ex Input:
Sentence: 'An architectural clock in a historical building in Prague'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'Three zebra are grazing on grass in an open field'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'The pet dog is allowed to sleep on his owners bed'. Count the number of nouns in this sentence.

Ex Output:

3