Input: Sentence: 'A man is sitting and pointing a remote'. Count the number of nouns in this sentence.
Output: 2