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

Example Input: Sentence: 'Picture of an outside spot with a transport'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A very elegant bathroom with marble and accented with red'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'a tennis player swinging a tennis racket'. Count the number of nouns in this sentence.
Example Output:
4