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

Example Input: Sentence: 'A bathroom with a toilet and a counter next to a door'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'Many bicyclists wearing helmets race down the street'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'The white devil slavemaster puts a bat in the young black girl's hands and trains her to attack Mexicans on sight'. Count the number of verbs in this sentence.
Example Output:
3