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

Input: Consider Input: Sentence: 'A collection of books and knick-knacks on shelves'. Count the number of nouns in this sentence.

Output: 5


Input: Consider Input: Sentence: 'A man sitting at a table in front of a laptop computer'. Count the number of nouns in this sentence.

Output: 5


Input: Consider Input: Sentence: 'A person sitting on a couch with a laptop'. Count the number of verbs in this sentence.


Output: 1