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

Example Input: Sentence: 'A sandwich with lettuce and tomatoes sits on a box in a park'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'A military airplane is sitting on the runway'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'An adult elephant and baby elephant loving on one another'. Count the number of nouns in this sentence.
Example Output:
4