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

Example Input: Sentence: 'a messy room with clothes and a computer'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'row of colored umbrellas next to a body of water'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A Ducati motorcycle is parked on a street with other traffic'. Count the number of verbs in this sentence.
Example Output:
1