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

Example Input: Sentence: 'A man in a diner holding two baskets of sandwiches'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'a man stands on he beach with a surf board'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'Two surfers are walking towards several waves in the sea'. Count the number of verbs in this sentence.
Example Output:
1