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

Example Input: Sentence: 'A cut in half sandwich sitting on top of a table next to a foam container'. Count the number of nouns in this sentence.
Example Output: 6

Example Input: Sentence: 'A part of a cake left over from a celebration'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'Two soccer players on different teams are see during a game'. Count the number of verbs in this sentence.
Example Output:
1