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

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

Example Input: Sentence: 'a person is standing in skies in the snow'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'A bathroom sink and shower stall with a basket of toiletries'. Count the number of nouns in this sentence.
Example Output:
6