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

Example Input: Sentence: 'A man on a scooter sits beside a stop sign'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'Orange cupcake with Orange is sitting next to it'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'a lving room with a lot of chairs and some big windows'. Count the number of verbs in this sentence.
Example Output:
1