Input: Sentence: '`there is a fridge that has many bottles of liquor in it'. Count the number of nouns in this sentence.
Output: 3