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

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 giraffe standing on the grass plans in Africa'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A motor bike parked on a sidewalk near a garden'. Count the number of nouns in this sentence.
Example Output:
4