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

Ex Input:
Sentence: 'Two people surfing in the sea and flying kites'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A little cat sits on a laptop keyboard'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A photo taken from a vehicle looking at an intersection'. Count the number of verbs in this sentence.

Ex Output:

2