Input: Sentence: 'The book shop looks appealing to children and adults'. Count the number of nouns in this sentence.
Output: 4