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

Example Input: Sentence: 'Surfer riding a wave in ocean with surfboard pointed up'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'An architectural clock in a historical building in Prague'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A family plays with a Frisbee on cobblestones near the water'. Count the number of verbs in this sentence.
Example Output:
1