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

Example Input: Sentence: 'Two boats are docked at the bank of a river'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'This is a close up shot of a mans goatee'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A small kitchen has teal green walls and a small window'. Count the number of nouns in this sentence.
Example Output:
3