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

Input: Consider Input: Sentence: 'A lean, gray racehorse being led to a track'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A person holding a bottle while riding a skateboard'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'An ancient stone bell tower next to an ancient stone church'. Count the number of nouns in this sentence.


Output: 5