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

Example Input: Sentence: 'A person talking a photo of a bathroom containing a sink and a toilet'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'Derek Jeter approaches the plate in a baseball game against the Giants'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A couple of traffic lights hanging over a street'. Count the number of nouns in this sentence.
Example Output:
4