Input: Sentence: 'The kitchen is equipped with all the latest appliances'. Count the number of nouns in this sentence.
Output: 2