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

[Q]: Sentence: 'Two people surfing in the sea and flying kites'. Count the number of nouns in this sentence.
[A]: 4


[Q]: Sentence: 'A passenger train going by on the tracks'. Count the number of nouns in this sentence.
[A]: 3


[Q]: Sentence: 'A man in a white jersey attempting to hit a baseball'. Count the number of nouns in this sentence.
[A]:
3