Input: Sentence: 'Derek Jeter approaches the plate in a baseball game against the Giants'. Count the number of nouns in this sentence.
Output: 3