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

Example Input: Sentence: 'An old white building has a sign that says F Street'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A tiled white bathroom with urinals and tile windows'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'Two pictures of a dog and a cat sitting'. Count the number of nouns in this sentence.
Example Output:
3