Input: Sentence: 'A lean, gray racehorse being led to a track'. Count the number of nouns in this sentence.
Output: 2