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

Example Input: Sentence: 'A group of people march across a field with a red flag'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'a cow that is on the side of a hill'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'A cat standing in a open suitcase on some cloths'. Count the number of nouns in this sentence.
Example Output:
3