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

Ex Input:
Sentence: 'A man brushing his teeth with a tooth brush'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'An empty kitchen with wood-paneled cabinets and black appliances'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'The tower of the building has a clock displayed on the front of it'. Count the number of verbs in this sentence.

Ex Output:

2