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

Let me give you an example: Sentence: 'A small toy kept on tray held by a man'. Count the number of nouns in this sentence.
The answer to this example can be: 3
Here is why: The words 'toy', 'tray', and 'man' are nouns in this sentence. So, the answer is 3.

OK. solve this:
Sentence: 'A necktie around someone's neck but it is loosened'. Count the number of nouns in this sentence.
Answer:
2