Input: Sentence: 'A man watching a show on a TV'. Count the number of nouns in this sentence.
Output: 3