Input: Sentence: 'some baseball players are playing baseball on a field'. Count the number of nouns in this sentence.
Output: 4