Input: Sentence: 'a cow that is on the side of a hill'. Count the number of nouns in this sentence.
Output: 3