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

Example Input: Sentence: 'A small kitchen knife on top of a sliced carrot'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'There is woman texting on a phone holding a tennis racket'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'The white clock in front of the tree reads 1:33'. Count the number of nouns in this sentence.
Example Output:
3