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

Ex Input:
Sentence: 'A tennis player looks at a tennis ball as she lifts up a tennis racket'. Count the number of nouns in this sentence.

Ex Output:
6


Ex Input:
Sentence: 'A person jumps above a body of water'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A sandwich served on a plate with salad'. Count the number of verbs in this sentence.

Ex Output:

1