Input: Sentence: 'A pitcher on a baseball field doing an interesting wind up'. Count the number of nouns in this sentence.
Output: 4