Input: Sentence: 'A brown cow and a white cow standing together away from the other cows'. Count the number of nouns in this sentence.
Output: 3