Input: Sentence: 'a man taking on a cell phone while inside a house'. Count the number of nouns in this sentence.
Output: 4