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

Input: Consider Input: Sentence: 'A tray with a doughnut and a cup of coffee on it'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A boy doing a trick with a skateboard on a ramp'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A room with a television and laptop turned on sitting on a dresser along with other random items'. Count the number of nouns in this sentence.


Output: 5