Input: Sentence: 'A cat looking at it''s own reflection in a mirror'. Count the number of nouns in this sentence.
Output: 3