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

Ex Input:
Sentence: 'a cat lays down next to a glass with a straw in it'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A plate of food with meat, spaghetti and sauce and something in a bowl'. Count the number of nouns in this sentence.

Ex Output:
6


Ex Input:
Sentence: 'Two people are riding a motorcycle with a flag attached to the back'. Count the number of nouns in this sentence.

Ex Output:

4