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

Example Input: Sentence: 'Two people shaving letters on the side of a goat'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A part of a cake left over from a celebration'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A young boy riding a skateboard up the side of a wooden ramp'. Count the number of verbs in this sentence.
Example Output:
1