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

Example Input: Sentence: 'A photo of a TV dinner beside a computer and action figures'. Count the number of nouns in this sentence.
Example Output: 6

Example Input: Sentence: 'Some people checking out some very pretty chairs made with skate boards'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'a large airplane that is sitting on a runway'. Count the number of nouns in this sentence.
Example Output:
2