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

Ex Input:
Sentence: 'a messy room with clothes and a computer'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'there are a group elephants that can be seen in the wild'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A family plays with a Frisbee on cobblestones near the water'. Count the number of verbs in this sentence.

Ex Output:

1