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

Ex Input:
Sentence: 'The breakfast is ready to be eaten at the table'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'Two girls with painted faces sit on the sidewalk'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A man riding a white horse on a sandy beach'. Count the number of nouns in this sentence.

Ex Output:

3