Input: Sentence: 'A cat sitting on the arm of a chair watching a television that is turned off'. Count the number of nouns in this sentence.
Output: 4