Input: Sentence: 'The truck is hauling around a cow threw town'. Count the number of nouns in this sentence.
Output: 3