Input: Sentence: 'two cars sitting next to each other next to a hill'. Count the number of nouns in this sentence.
Output: 2