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

Example Input: Sentence: 'Two people riding a surfboard in the open waves'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'The living room is clean and empty of people'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'Two women and a man are posing with a motorcycle'. Count the number of nouns in this sentence.
Example Output:
3