Input: Sentence: 'A WOMAN STOPS HER CAR ON TH SIDE OF THE ROAD TO FEED A HORSE'. Count the number of nouns in this sentence.
Output: 3