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

Example Input: Sentence: 'The living room is clean and empty of people'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'You can still get tacos and burritos late at night from this truck'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A beautiful swan glides across the placid water'. Count the number of nouns in this sentence.
Example Output:
2