Input: Sentence: 'A cat looking down at a book. It appears to be reading it'. Count the number of nouns in this sentence.
Output: 2