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

Example Input: Sentence: 'A large and baby cow are on tall grass'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A bird with a long beak wades in algae-covered water'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'A train traveling down train tracks near a loading platform'. Count the number of nouns in this sentence.
Example Output:
5